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

why setting a textbox readonly screws up it's colors?

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun Jun 18, 2006 8:38 am    Post subject: why setting a textbox readonly screws up it's colors? Reply with quote

I had the problem of kixforms autoselecting the text on multiline textbox and that looks stupid, when I actually don't wanna show any textbox to user, just the text.
now, setting the readonly bit on, my background changed from $form.background to control gray!!!

why is this?
is it like, if I set it to readonly, it means I can't edit it or wtf?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun Jun 18, 2006 8:44 am    Post subject: Reply with quote

same goes for the lame enabled = 0.
it would have lot to offer but getting the colors all wrong does not fit the purpose.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun Jun 18, 2006 8:48 am    Post subject: Reply with quote

this does not fit the topics title, but...
why selectionlength = 0 does not set the selectionlength to 0?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun Jun 18, 2006 8:50 am    Post subject: Reply with quote

same goes for selectedtext.

k, now testing with:
Code:

$slideinfo.selectedtext = ""
$slideinfo.selectionlength = 0
$slideinfo.select


added the select to see if kf excepts the settings to be "saved" somehow.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun Jun 18, 2006 8:51 am    Post subject: Reply with quote

and no worky.
all the text remains selected no matter what.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion 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