Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALIAS ok with modal form but not modeless
Message
From
09/01/2003 15:23:30
 
 
To
09/01/2003 15:13:34
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00739985
Message ID:
00739998
Views:
22
Patrick,

You are creating the alias *before* you call the form? If the form has a private datasession, it won't see it.

But I can't think of how modal vs. non-modal would affect this...

How (or where) are you creating the alias? If possible, post that code, along with the code that loads the form.


>hello -
>
>is there some standard or basically different approach you
>need to use when referring to an alias in a non-modal form
>versus a modal form. ??
>
>specifically --
>
>i don't think i've ever used a non-modal form in my VFP
>career (except of course for the top level form).
>
>i have a modal form that's complex, but working perfectly
>for a long time. recently, i've tried to add a new active-x
>control to it, and found the active-x control would not work
>unless i made the form non-modal. grrrrr !!
>
>well, when i made the form non-modal, i got an error regarding
>an alias i use on that form.
>
>and by the way... i get the error message regardless of whether
>the new active-x control is on the form or not.
>
>the form i'm calling is frm_Happy_Snappy. before i call the form,
>create an alias called EVAL_CAT.
>
>everything works fine when i call frm_Happy_Snappy.
>
>now the ONLY thing i do is change frm_Happy_Snappy from modal
>to non-modal and i get the message "alias EVAL_CAT not found".
>
>what does a non-modal form do (or not do) that a modal form
>does (or does't) ??
>
>thanks for any help.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform