|
-
Jun 18th, 2000, 12:01 PM
#1
Thread Starter
Hyperactive Member
Not really...lol
How can I make the status bar say "Active..." when they are moving the mouse?
Private Sub sbStatusBar_PanelClick(ByVal Panel As Lib.Panel)
'INSERT CODE HERE
End Sub
-
Jun 18th, 2000, 12:32 PM
#2
PowerPoster
Blur...
What do you mean ... How can I make the status bar say "Active..." when they are moving the mouse?
???
it is this???
Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
StatusBar1.Panels(1).Text = "Active..."
End Sub
-
Jun 25th, 2000, 10:39 AM
#3
Thread Starter
Hyperactive Member
ahhh
its been a week since I posted that, and I dont even know what the hell I am saying...
NEW QUESTION>>>
I have a program where it has the options menu (so uncommon) and I want to allow them to check an option on or off so that the program knows to do something at the end of the session... HOw do I make the program keep the info of the box checked or unchecked so that next time they load the program it is the way it was last time...(Would I store it in a .dll file or something?)
-
Jun 25th, 2000, 10:46 AM
#4
PowerPoster
save all the setting into registry.
All you need to do is just save all this eeting into the registry and retrieve it in the Form_Load() events.
For more information, please refer to this Thread or this as well Registry
-
Jun 25th, 2000, 10:47 AM
#5
Hyperactive Member
Use the registry
Use this code for the menu click:
Code:
Private Sub mnuAny_Click()
mnuAny.Checked = Not mnuAny.Checked
SaveSetting "Your App Name", "Your Section", "Menu Key", mnuAny.Checked
End Sub
and this one in the load_form:
Code:
Private Sub Form_Load()
mnuAny.Checked = GetSetting("Your App Name", "Your Section", "Meny Key", 0)
End Sub
Signed, Rodik ([email protected])
Programmer,usesVB6ED
===========================
Copyright©RodikCo,2002.
Dont mind this signature ;] Its old
-
Jun 25th, 2000, 10:48 AM
#6
Frenzied Member
Re: ahhh
this is of the top of my head:
Code:
if check1.value = checked then
' your code
NXSupport - Your one-stop source for computer help
-
Jun 25th, 2000, 11:29 AM
#7
Hyperactive Member
I would suggest using App.Title rather than "Your app name" as a string because this will then insert the name of your application automatically from the settings you have given to the VB development environment.
This way if you decide to change your mind later and rename it you will get a new area in the registry.
Just a bit of standardization
-
Jun 25th, 2000, 03:30 PM
#8
Thread Starter
Hyperactive Member
rodik...can you explain the code a little more...im not quite understanding what it does...
-
Jun 25th, 2000, 09:10 PM
#9
Thread Starter
Hyperactive Member
well can someone explain the functions he/she used in their post...?
Private Sub mnuAny_Click()
mnuAny.Checked = Not mnuAny.Checked
SaveSetting "Your App Name", "Your Section", "Menu Key", mnuAny.Checked
End Sub
and this one in the load_form:
Private Sub Form_Load()
mnuAny.Checked = GetSetting("Your App Name", "Your Section", "Meny Key", 0)
End Sub
whats mnuany.checked? and why do I put in my app name? and whats the section, and meny key?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|