Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 9 of 9 total |
TImage IDE |
Tue, Jan 24 2017 6:23 AM | Permanent Link |
Uli Becker | Tiny thing: when I doubleclick a TImage component in the IDE, the OnLoad
procedure is opened, shouldn't it be the OnClick procedure? Just wondered why the OnClick event did not fire. Uli |
Tue, Jan 24 2017 7:17 AM | Permanent Link |
Michael Dreher | Uli Becker wrote:
// ... the OnLoad procedure is opened, shouldn't it be the OnClick procedure? I just tried this and it works fine (IDE 2.05B4). My click or double-click handlers fire while clicking, the onload OnLoad handler only once after startup (when loaded). Michael Dreher |
Tue, Jan 24 2017 7:26 AM | Permanent Link |
Matthew Jones | Michael Dreher wrote:
> // ... the OnLoad procedure is opened, shouldn't it be the OnClick procedure? > > I just tried this and it works fine (IDE 2.05B4). Tim said he would be changing this, so I guess that's the build it got fixed in. For some reason I'm still on 2.05B3 which has the OnLoad default. -- Matthew Jones |
Tue, Jan 24 2017 8:45 AM | Permanent Link |
Uli Becker | Michael,
> I just tried this and it works fine (IDE 2.05B4). My click or double-click handlers fire while clicking, the onload OnLoad handler only once after startup (when loaded). I mean the default handler which is opened (created) when clicking on the component itself. Uli |
Tue, Jan 24 2017 8:46 AM | Permanent Link |
Uli Becker | Matthew,
> Tim said he would be changing this, so I guess that's the build it got fixed in. For some reason I'm still on 2.05B3 which has the OnLoad default. OK, thanks. Maybe it was even me who reported that (long time ago). Uli |
Tue, Jan 24 2017 9:21 AM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> > Tim said he would be changing this, so I guess that's the build it got fixed in. For some reason I'm still on 2.05B3 which has the OnLoad default. Just tried with 2.05B4 in a VM I have it on, and it still does the OnLoad. -- Matthew Jones |
Tue, Jan 24 2017 9:56 AM | Permanent Link |
Michael Dreher | Uli Becker wrote:
// I mean the default handler which is opened (created) when clicking on // the component itself. // // Uli The double click at design time, I see. TImage inherit the OnLoad-default from TWebControl (in 2.05B4). Michael Dreher |
Wed, Jan 25 2017 1:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< Tiny thing: when I doubleclick a TImage component in the IDE, the OnLoad procedure is opened, shouldn't it be the OnClick procedure? >> Not for the TImage control. I try to pick the event handler that is most likely to be useful as the "default" event handler at design-time. If you don't like my choice, then you can change it: WebBrwsr unit: TImage = class(TWebControl) ... published ... property OnClick; default; <<< Add the ; default part Tim Young Elevate Software www.elevatesoft.com |
Thu, Jan 26 2017 10:43 AM | Permanent Link |
Uli Becker | Tim,
> I try to pick the event handler that is most likely to be useful as the "default" event handler at design-time. If you don't like my choice, then you can change it I nearly always like your choice. Thank you. Uli |
This web page was last updated on Thursday, December 5, 2024 at 07:37 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |