Home » U++ Library support » U++ Widgets - General questions or Mixed problems » static Ctrl causes running failure
Re: static Ctrl causes running failure [message #31807 is a reply to message #24152] |
Tue, 29 March 2011 11:23 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
i was using a similar approach and switched to INITBLOCK / ONCELOCK since i thought they were about to be initialized *after* the GUI main init stuff. but this is not neccessarily the case right?
INITBLOCCK / ONCELOCK are part of Core..
having a stack object EditField i.e. in a INITBLOCK yields same error. the control is created first, then gui stuff. so it's not a problem of static controls, but of their early init.
is there a possib to securily trigger the GUI init stuff first?
the problem is also that, once the i.e. EditField has been inited somewhere before GUI, even if it ceases to exist, the effects of the wrong overall init sewuence are visible for later controls.
seems as if some global params of gui are beeing spoiled up.
interestingly enough, this happens in msc debug, not in optimal.
attached is a test case.
compile MSC9 GUI MT, debug
-
Attachment: StatTest.rar
(Size: 1.09KB, Downloaded 267 times)
|
|
|
Goto Forum:
Current Time: Sat Sep 21 02:53:30 CEST 2024
Total time taken to generate the page: 0.02545 seconds
|