![]() | Products |
| Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
| Messages 1 to 2 of 2 total |
| Wed, Sep 4 2013 6:43 AM | Permanent Link |
Franck - Midi pyrénées - France Esteves Ducilia | Hello there,
I would like to create somes panels at runtime and assign a procedure to the event Onclick. I have the message [Error] unitMain.wbs (101,35): The menuPanelClick(menuPanel) method is not a class method thank for your help procedure creMenuPanel(str : string) ; var menuPanel : TPanel ; begin menuPanel := TPanel.create(mainForm.panelLeft) ; menuPanel.color := clForestGreen ; menuPanel.Height := 50 ; menuPanel.Width := 100 ; menuPanel.Visible := true ; menuPanel.EnableDrag : = true ; menuPanel.OnClick := TmainForm.menuPanelClick(menuPanel)); end ; procedure TmainForm.menuPanelClick(Sender: TObject); begin ShowMessage('me') ; end; |
| Wed, Sep 4 2013 8:00 AM | Permanent Link |
Franck - Midi pyrénées - France Esteves Ducilia | No need an answer . I have found the solution. Thank
|
This web page was last updated on Saturday, May 9, 2026 at 08:16 AM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

