Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close Class Designer window programmatically
Message
 
 
To
07/11/2005 14:14:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01066052
Message ID:
01066150
Views:
48
>>>>>>Ouch,
>>>>>>
>>>>>>making statusbartext = space doesn't solve the problem of "opt". When I switch pages in a pageframe, on one page I see this dreadful message after I changed a value in the combobox on the first page and saved my changes. I do not want to use set message to in the interactivechange of the combo, because we're not calling dodefault() there.
>>>>>
>>>>>Have the combo a root class ?
>>>>
>>>>Yes. I added set message to this.statusbartext in combo's lost focus. Now I see this message when I click on the tab of the page. In that case we have a question "Do you want to save changes?".
>>>>
>>>>How can I find out from pageframe, if I'm switching pages?
>>>
>>>try :
>>>
>>>* add this to the RootcomboClass
>>>HIDDEN PictureSelectionDisplay_Access
>>>SET MESSAGE TO m.this.StatusBarText
>>>RETURN m.THIS.PictureSelectionDisplay
>>>
>>

>>Where should I put it and where is that property set?
>
>Add the Method PictureSelectionDisplay_Access to the Combo root class.

Terrific! It seems to work. How do you know about all these properites and invent all such workarounds. I never ever heard about this property before.

Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform