Print Page | Close Window

Enable/Disable InputBoxes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3489
Printed Date: 06 October 2024 at 2:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Enable/Disable InputBoxes
Posted By: jamesblast
Subject: Enable/Disable InputBoxes
Date Posted: 09 January 2006 at 9:42am

hello,

enabling an editbox results in a ugly display, see:

disabling anyway does the same, but the opposit way

only insering new text fixes this.

(zoom onto the digit to see the fault)

thank you.




Replies:
Posted By: Oleg
Date Posted: 09 January 2006 at 10:28am

Hello

Sorry, we agree this bug of 9.81 version :(

As not good workaround refresh text after you change style:

Set Control = CommandBars.FindControl(, 102)
Control.Enabled = Not Control.Enabled

Dim Text As String
Text = Control.Text
Control.Text = ""
Control.Text = Text

 

Sorry about it :( :( :(

Fixed for future.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net