Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command like PB's Describe
Message
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Command like PB's Describe
Miscellaneous
Thread ID:
00408912
Message ID:
00408912
Views:
55
What command in VB is similar to the Describe command In PowerBuilder.

Desribe allows you to put the name of the control in as a paramater and it lets you control it as though it is the object eg.

Describe("Form1").show

instead of

Form1.show

This way you can use a variable name in the Describe function and it will open any form you pass to it. This is instead of a
select case strFormName
 case "form1"
   form1.show
 case "form2"
   form2.show
 case "form3"
   form3.show
end select
Next
Reply
Map
View

Click here to load this message in the networking platform