KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Button in grey

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
bruno
KiXforms Regular
KiXforms Regular


Joined: 19 May 2003
Posts: 44
Location: France (Europe)

PostPosted: Tue Oct 14, 2003 10:06 am    Post subject: Button in grey Reply with quote

Hello all,

I want to change a button to do it visible in grey and not active since a function is running.

If you have an idea to do this... Question

Thank you

_________________
There is no stupid question. Whoever seeks is never stupid because he will know ...
Bruno.
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Tue Oct 14, 2003 10:23 am    Post subject: Reply with quote

I think you mean something like this

(pseudo-code)

Code:
function stuff()
    $btn1.Enabled = 0
    ;doing your stuff here and have button 1 disabled whilst doing it
    $btn1.Enabled = 1
endfunction


is it that ?

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
bruno
KiXforms Regular
KiXforms Regular


Joined: 19 May 2003
Posts: 44
Location: France (Europe)

PostPosted: Tue Oct 14, 2003 10:28 am    Post subject: Reply with quote

Ok that's what I need THANK YOU !!
_________________
There is no stupid question. Whoever seeks is never stupid because he will know ...
Bruno.
Back to top
View user's profile Send private message
Sealeopard
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 436
Location: Boston, MA

PostPosted: Tue Oct 14, 2003 11:55 am    Post subject: Reply with quote

Please take a look at the KiXforms documentation as the Enbled property for the Button object is explained in the documentation.
_________________
Jens

'There are two kinds of vessels, submarines and targets.'
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic 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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group