Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a combo-box in an exe
Message
From
15/02/2000 09:34:43
 
 
To
14/02/2000 15:18:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00331895
Message ID:
00332146
Views:
13
Josh, what is your rowsource, rowsourcetype and controlsource? Is the form or the calling form using a private date session? Is data used by this control being opened / created during the init method? Sounds like the data is not available when the control is initiated but is available for a refresh.

>I have created an exe of a form that includes a combobox. This exe is being called by another application with a DO. If I call the form with the application before it is an exe, then the combobox works fine, but when I call it after it is an exe, then the combobox is empty until I force a refesh of the form. The problem is, it has to be a refresh after the form has finished loading. If I issue a refresh anywhere in the code that is executed as the form initializes, it does nothing. An example
>
>I placed a button on my form with the simple command thisformset.refresh(). I compile it into and exe and call the exe with the other app. The form appears and the combobox is empty. I click the button and the combobox shows properly. Now, I go in and issue a refresh as the last command executed before prompting the user for input and the combobox stays empty.
>
>I have no idea why it is doing this, and if anyone else has any idea on how I can fix this, I would be very appreciative.
>
>Josh
Previous
Reply
Map
View

Click here to load this message in the networking platform