Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Show Form Hide
Message
From
14/02/2003 08:39:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/02/2003 08:26:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00752644
Message ID:
00753171
Views:
17
>>I had the function at the top of the program - sorry about that.
>>
>>However, I get an error on this line:
>>tcWindowName = Lower(tcWindowName)
>>Error: Function argument value, type, or count is invalid.
>>
>>Since the current Form (form A) is a form set - could that have something to do with the error?
>
>lower() operates on character values. As error message says tcWindowName is not a string. Place this before that line to check (or suspend and invoke debugger what tcWindowName is) :
>
>messagebox(type('tcWindowName')+'/'+trans(tcWindowName))
>
>Cetin

BTW with a formset (formset is not a good idea IMHO) it might need a diffrent code. ie:
*FormB.Activate
thisformset.formA.hide()

*FormB.Unload
thisformset.formA.show()
PS: No checks on exitence and name.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform