forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Highlight BITBTN Images

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 16, 2003 5:09 pm    Post subject: Highlight BITBTN Images Reply with quote

This isn't really something extraordinary but rather something I wanted to
point out. If you've ever wanted to make those BITBTN elements change
to a slightly different image (ex. make it brighter or darker) on mouseover,
just use the MOUSEOVER style in VDS 5, like the following:

Code:
TITLE By FreezingFire
  DIALOG CREATE,BITBTN Test,-1,0,151,69,NOMIN
  DIALOG ADD,BITBTN,BITBTN1,10,14,56,48,@windir()\winhelp.exe,,,MOUSEOVER
  DIALOG ADD,TEXT,TEXT1,12,82,,,Mouse-over@cr()the BITBTN
  DIALOG SHOW
:Evloop
  wait event
  goto @event()
:BITBTN1ENTER
  dialog set,BITBTN1,@windir()\winhlp32.exe
  goto evloop
:BITBTN1LEAVE
  dialog set,BITBTN1,@windir()\winhelp.exe
  goto evloop
:BITBTN1BUTTON
  warn You clicked the button
  goto evloop
:Close
  exit

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group