Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Sunk / Raised Command Buttons

Author
Message
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 10th Oct 2003 01:34
Here is a method to add user interface buttons that alternately depress and raise.




If you use it add me in a by-line

System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX
orv
20
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Chicago, IL
Posted: 1st Nov 2003 01:28
if you change line: 104

from:


to:


the text on the buttons is much clearer!

If you aim at nothing you'll hit it every time. 806mhz AMD Athlon Processor. 384MB memory.
Windows XP Home Edition. RADEON 9700 Pro graphics card. - editor.exe=1.0.6.1 - DBPCompiler.exe=V1.05
orv
20
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Chicago, IL
Posted: 1st Nov 2003 01:39
ok, i'm meddling...

here is a revised version where the labels on the buttons adjust to make it look like the label is part of the button when you click it not just hovering above it!

also with sharper lines...

If you aim at nothing you'll hit it every time. 806mhz AMD Athlon Processor. 384MB memory.
Windows XP Home Edition. RADEON 9700 Pro graphics card. - editor.exe=1.0.6.1 - DBPCompiler.exe=V1.05
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 1st Nov 2003 19:28
ORV
Thanks for the changes I can code but I have no artistic abilities or eye for asthetics.

CODGER

System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX

Login to post a reply

Server time is: 2024-05-03 12:34:39
Your offset time is: 2024-05-03 12:34:39