i need help.. how do i take off the max button on my main form and alter the min button so it works with the sysTray event
sorry im a newb :\
I suggest you learn Visual Basic before you try and mess with API calls.
EDIT --
Form.MaxButton = False ' If you couldn't figure it out from the Form.MaxButton = True example I showed you earlier
Private Sub Form_Load()
MaxButton = True
End Sub
Quote
Compile error:
Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic
Perhaps you should learn Visual Basic before you try and mess with object properties.
maybe i dont have the time.. and i just want to fool around with csb for a lil while..
and maybe i just want one of you to tell me how i can do it.. is that so much to ask ?
btw this doesnt work (along with Form1.maxbutton = false)
Private Sub Form_Load()
MaxButton = True
End Sub
Quote from: Twitch on July 25, 2004, 11:55 PM
maybe i dont have the time.. and i just want to fool around with csb for a lil while..
and maybe i just want one of you to tell me how i can do it.. is that so much to ask ?
btw this doesnt work (along with Form1.maxbutton = false)
Private Sub Form_Load()
MaxButton = True
End Sub
You can only set MaxButton to true or false in the form properties dialog. You cannot change it at runtime. My reply was showing Newby that his method will not work.
ohh my god.. i feel like such a idiot right now lol..
i see it in the properties
thanks userLoser. and i apologize for my incompetence
p.s. im gonna start getting into vb a lot more so dont worry about me bugging you guys anymore ;)
Quote from: Twitch on July 25, 2004, 11:55 PM
maybe i dont have the time.. and i just want to fool around with csb for a lil while..
You don't have time to do a 10second google search but you have time to register for a forum, post, wait a couple hours, and then retrieve a response?
Anyways, good luck with your endeavours, and remember, Google is your best friend.