sip_changed

dennishea

Active Member
Licensed User
What do I need to do to get this sub to work? I have the hardware dll but I can't figure out how to activate this sub when I turn on an off the sip.

Sub hardware_SIPChanged 'Changes the TextBox height to fit the whole available screen.
If hardware.SIPEnabled Then
TextBox1.Height = Form1.Height - hardware.SIPHeight
Else
TextBox1.Height = Form1.Height
End If
End Sub


:sign0085:
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Nice thread - I didn't know that it was possible to tell if the SIP was enabled, and you can also get the hieght. That's brilliant and soon to be implemented in my own program.

Thanks,
RandomCoder
 

dennishea

Active Member
Licensed User
@erel

I have done that. I used add object from tools menu and named it hardware.
In startup I did hardware.new1. Is there something else I'm missing.

:sign0085:

edit:

:) :sign0060: :signOops: :sign0161: :sign0060: :)

Sorry, I had every thing right but was expecting a border. Decided to add 15 to sipheight to create space between txtbox and sip and then it was obivious that it was working.
 
Last edited:
Top