| | |
Userform Name in variable
Thread Solved |
•
•
Join Date: Jun 2009
Posts: 5
Reputation:
Solved Threads: 0
frmPBar has one label lblScroller. While I am searching through Excel REcords in frmFriends, I want the lblScroller to increment like a progress bar and tell the user that proceesing is being done. To do this in frmFriends I want to measure the width of lblScroller, which is in frmPBar. How to call in frmFriends, the control which is on frmPBar. Later on, I will call that label from frmKithAndKin and also from frmVIPs. Any suggestion, appreciated. I am new to VB.
-PMYK
-PMYK
•
•
Join Date: Mar 2009
Posts: 826
Reputation:
Solved Threads: 150
Okay, to get or set controls in other forms it is as simple as...
or to set...
Good Luck
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
'we are in form1 and we want the width of label1 in form2 MyVariable = Form2.Label1.Width
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
'we are in form1 and we want to set the width of label1 in form2 Form2.Label1.Width = MyVariable
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
![]() |
Similar Threads
- Session variable (ASP.NET)
- session variable:again (ASP.NET)
- Undefined variable: PHP_SELF (PHP)
- Need Help with variable initialization (Java)
- variable function parameters functionname(int a, ...) (C)
- Retreiving a Variable from a URL (PHP)
- Can draw one Frame in a variable? (Java)
- Pipe inside variable isn't working in bash (Shell Scripting)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Outlook VBA not being run by Script
- Next Thread: Import and export mixed data from and to csv file in VBA6
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





