f



Control visiblilty of a text box on a Tab Control

Hey, thanks for reading my question.

I'm using a combo box to control the visibility of a text box.  When I
make a change to the combo box it will set the visible property to
true on a text box.  When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.

What am I missing?  Any one got any suggestions.

0
ngraves1 (31)
6/2/2004 2:54:02 AM
comp.databases.ms-access 42670 articles. 0 followers. Post Follow

4 Replies
540 Views

Similar Articles

[PageSpeed] 51

N. Graves wrote:
> Hey, thanks for reading my question.
>
> I'm using a combo box to control the visibility of a text box.  When I
> make a change to the combo box it will set the visible property to
> true on a text box.  When I had these objects not on the Tab Control
> everything worked great. Now with these object on the tab control and
> I open the form the vicinity works but when I change the combo box
> which set the visibility nothing changes.
>
> What am I missing?  Any one got any suggestions.

Is your code behind your combobox still there? When you move an object
(cut and paste) to a tab control the event procedure code is "lost". You
may note that your Event Procedure is not there anymore in your combobox
properties.. but when you click on the build button it will bring up the
code... and upon returning the Event Procedure reappears!

An Access quirk:)
-- 
regards,

Bradley


0
bradley9026 (125)
6/2/2004 3:11:55 AM
Is it possible that your text box is behind the tab control?

Peter De Baets
Peter's Software - MS Access Tools for Developers
http://www.peterssoftware.com

N. Graves <ngraves@yahoo.com> wrote in message news:<7agqb013b49n7r7521t2620s61ubh9fuue@4ax.com>...
> Hey, thanks for reading my question.
> 
> I'm using a combo box to control the visibility of a text box.  When I
> make a change to the combo box it will set the visible property to
> true on a text box.  When I had these objects not on the Tab Control
> everything worked great. Now with these object on the tab control and
> I open the form the vicinity works but when I change the combo box
> which set the visibility nothing changes.
> 
> What am I missing?  Any one got any suggestions.
0
info6796 (15)
6/2/2004 7:12:40 AM
Thank you very much.  I could see the code in the Code editor but I
did not look to see the Event Procedure.

Thanks!

N. Graves

On Wed, 02 Jun 2004 03:11:55 GMT, "Bradley"
<bradley@REMOVETHIScomcen.com.au> wrote:

>N. Graves wrote:
>> Hey, thanks for reading my question.
>>
>> I'm using a combo box to control the visibility of a text box.  When I
>> make a change to the combo box it will set the visible property to
>> true on a text box.  When I had these objects not on the Tab Control
>> everything worked great. Now with these object on the tab control and
>> I open the form the vicinity works but when I change the combo box
>> which set the visibility nothing changes.
>>
>> What am I missing?  Any one got any suggestions.
>
>Is your code behind your combobox still there? When you move an object
>(cut and paste) to a tab control the event procedure code is "lost". You
>may note that your Event Procedure is not there anymore in your combobox
>properties.. but when you click on the build button it will bring up the
>code... and upon returning the Event Procedure reappears!
>
>An Access quirk:)

0
ngraves1 (31)
6/2/2004 12:26:15 PM
Thank you for your support!

The code was there but it lost the Event Procedure.

I took a look at your website.  Very interesting stuff!!

N. Graves


On 2 Jun 2004 00:12:40 -0700, info@peterssoftware.com (Peter De Baets)
wrote:

>peterssoftware.com

0
ngraves1 (31)
6/2/2004 12:31:47 PM
Reply:

Similar Artilces:

How can I set the tab order of text box controls on each page of a tab control?
I need to be able to select the tabbing order of individual controls on a single page of a tabbed control. How?? In LV 6.1 an up you should be ablel to right click on the edge of the tab control when the tab-page in question is selected. The bttom selcetion in the pop-up is "Reoder controls in page..." selecting this option will switch editing modes to allow you to specify the ored, just like in a cluster. I seem to remeber in older versions you had to drag the tabable controls off the tab control, specify the tabbing oder and then drag them back on. The oldest version I have on ...

Can a Combo Box control a Tab Control, like an Enumerated Ring control can
Is there any way to have a Combo Box control a Tab Control.&nbsp; An Enumerated Ring control can if all the names match "Exactly", question is can a Combo Box do the same, especially within an Event Structure? I haven't been able to figure it out.&nbsp; Enclosed is a test VI that has an enumerated ring example, and a combo box with the same data.&nbsp; Thanks for your help... Test Tab Control [1].vi: http://forums.ni.com/attachments/ni/170/215375/1/Test Tab Control [1].vi A tab control can be treated like an enum, so your question comes down to: "Can I map a ...

Tab control in one of the tabs of another tab control
One of my colleagues is working with a tab control. He has several tabs. He is trying to embed another tab control inside one of the tabs of the first tab control. He had placed the second tab control inside one of the tabs of the first tab control. But the problem is that the second tab control does not show up (unless one goes to the block diagram and double clicks the second tab control, only then does it shows up; when the vi is closed and reopened its again not there). I told him that I had never seen such functionality (a tab control inside another tab control) in any application but is it somehow possible. All this is required while the VI is not running and is being developed (of course it should work at run time, but this functionality must show while the VI is not running, i.e., this functionality should be non-programmatic. Is it possible. Thanks for your time. Hi rashid, yes it is possible. See the attached example. I see no problems with it.Hope it helps.Mike Untitled_LV71.vi: http://forums.ni.com/attachments/ni/170/323165/1/Untitled_LV71.vi Thanks <a href="../view_profile?user.id=88992" class="auth_text" style="font-weight: bold;" target="_blank"> MikeS81</a>! Yes you are absolutely right. Your VI is working perfectly. I wonder what has my friend done to get such behaviour as he is getting. Strange! Thanks for the help!Have a very nice day! Hi rashid, can you upload your vi, maybe someone found the proble...

Tab Events of Access Application ? (NOT Access Tab Control)
I'm trying to use the event when a person moves to a different form by clicking on the built in Access application tabs. Is there something I can reference or does it require some kind of subclassing/hook api calls? Thanks On Jul 21, 9:47=A0pm, "christianlo...@yahoo.com" <christianlo...@yahoo.com> wrote: > I'm trying to use the event when a person moves to a different form by > clicking on the built in Access application tabs. > > Is there something I can reference or does it require some kind of > subclassing/hook api calls? > > Thanks Hi Christian, You can use the OnDeactivate event. Imb. > You can use the OnDeactivate event. Hello Imb, Aha. Now I am forced to make an event for each form. Trying to automate what tab the ribbon moves to based on the access application tab. Okay, thanks. Access could use a rewrite of it's event system imho. There are no top level application events to tap into, no 'after delete' event, record saves w/ a 'dirty=true', it's all quite ridiculous. I was hoping the new table events would be the solution but they come up w/ this 'data macro' crap where there doesn't seem to be any way to call your own code on the event. Sometimes I wonder if the ms developers ever use Access. However, I love the report and form design improvements. <christianlott1@yahoo.com> wrote in message news:ba72c614-57c0-4045-9af0-3cd9734e923b@r18g2000vbs.googlegro...

Controlling bold and italic within a text box control
A report requires a line containing author and title. The author is required in bold and the title in bold italic font. Only one space is required between the author and title, which are variable length when clipped. If two text boxes are used then the correct font setting can be assigned to each control but the spacing seems to be fixed. The "Can grow" "Can shrink" attributes only seem to work vertically not horizontally. If one text box is used with the two fields concatenated together, then no method has been found to assign the different font characteristics within a ...

Tab control within another tab control
I am creating a form with a tab control containing 10 tabs. and what I want to do is on only on of the tabs, I want a sub section of tabs. So what it ends up being is one main tab control with another tab control embedded into only one of the tab pages. The problem I am getting is when I insert the sub section tab control into one of the tabs from the main tab control, the sub section tab control appears in every tab in the main tab control. Can anyone help? What do I need to do so it only appears in one tab, not all. Thanks As you found, you cannot place a tab control on one of the pages...

tab control inside another tab control
Hi. Is it possible to put a tab control inside another tab control. I tried it several times, but for some reason this doesn't seem to work. Can someone confirm this, or tell me what the trick is. Thanks. -- Georges The only way I know to do this is to put a subform on the first tab control. Then you can put your second tab control on the subform. If you do this repeatedly, however, you will find the form loading rather slowly. HTH - Turtle "Georges Heinesch" <news@geohei.lu> wrote in message news:3fe82fb8$1_2@news.vo.lu... > Hi. > > Is it possible to...

Refs to controls on tab control
I'm really stumped. I have been able to get all of my references to all my controls with property nodes - even controls inside clusters for all of the controls on a vi front panel. However, when I move these very same controls onto a tab control&nbsp;I can't seem to figure out how to get these same&nbsp;references! I can only get the tab control ref. :smileyindifferent: &nbsp; &nbsp; <img src="http://forums.ni.com/attachments/ni/170/243049/1/Cotrols%20on%20pages.JPG"> BenMessage Edited by Ben on 04-20-2007 05:01 PM Cotrols on pages.JPG: http://forums.ni.com/attachments/ni/170/243049/1/Cotrols on pages.JPG ...

Syntax of control on tab controls
I have a form "frmturnover" on which there is asubform "subfrmturnover" which has three tabcontrols say Page1, Page2 and Page3. There is control "control2" on Page2 that when its is entered I want to check if it is the same value as a control "control1" on Page1 and then show a pop up box if they don't match. I can work out the code for the message box but I'm getting a little lost on the syntax for referring to the controls on the pages of the tab control. I also want to check the value of Control2 on page2 with the vale of control3 on a page1 o...

Highlight text and Text Box Control
C5.0b PE legacy Hello! I have one invoice application with the text area for variable customer announcement. It is now filled and printed using the standard Arial characters. Is there any easy and cheap method to highlight these messages? (Compare "Word text") TIA Riku Maki ...

How to import a tab delimited text file into MS Access database
Hi, I have the following task to be done in VC++ 6.0. I have a tab delimited text file that needs to be imported into a MS Access table. The table is created and the table structure is defined using DAO methods. So now I have to fill this table with the data in the text files. For a few rows in the text file, the number of columns could be less than the number of columns in the table. Can anyone please post me the code to do this. Thanks a ton in advance. Pradeep wrote: > I have the following task to be done in VC++ 6.0. We'd be happy to give you the VBA code, but do you really want ...

I have a Text control string box with some initial text. I...
I have a Text control string box with some initial text. I would like to highlight old text with click of mouse and type in new data from keyboard I have a text control string box with some initial text (says: Please enter Name). I would like the operator to click on the text control box and have it automatically highlight so that when new data is typed in the old erases (all at once) and the new data is now in the text box. I tried using the "Text.Selection" property node and when I run it and put the mouse inside the text box the initial text is highlighted and if I press "de...

Image/Rectangle/Text Box replacement for tab control disappears on Vista Business
Hello, I am using Access 2003, Windows XP SP3. On one of my forms, there are several sub-forms held on pages of a tab control. I have replaced the in-built tab buttons with a combination of a rectangle, image and text box. The tab control settings are: Back Style - Transparent, Multi Row - No, Style - None. This works when the mdb is made into an mde, and when it is viewed using A2003 runtime with either mdb or mde. I put this on to a machine with Vista Business SP2, and it worked as expected, with the rectangle/image/text box combination bring up the required page on the t...

Getting XP look with tabbed dialog control and tab strip control
I know how to use a manifest file to get the XP look for the Windows Common Controls 6 group of controls but I also have both the tabbed dialog and tab strip controls in my app and I want those to take on the XP look as well. Does anyone know how? Also, while I am able to get the XP look through a manifest file in my app's folder I should be able to do this without the file having to be in the app's folder. I've read it has to do with compiling with a resource file but I don't know how to do that. Can anyone offer any assistance? Thanks! ...

Re: How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?
Hello Alberto, &nbsp; I have trouble to edit an exited text file and save it after the content changed. Can you please&nbsp;help me out? &nbsp; Thanks, Jason&nbsp; ...

Tab Control and Rectangle Hiding Controls
I'm trying to change the back colour of a tab control in Access 2010 by using a rectangle. I've selected the tab control (not an individual page) and pasted the rectagle (solid with required colour). I then send the rectangle to the back and then the tab control to the back. The problem is that most (but not all controls remain hidden) on each tab. Subform and list boxes are visible, but labels and text boxes aren't. I've done this before in another application, but can't remember how I did it. Any ideas? -- Bob Darlington Brisbane On Thursday, June 20, 2013 1:57:59 AM UTC-5, Bob Darlington wrote: > I'm trying to change the back colour of a tab control in Access 2010 by > > using a rectangle. > > I've selected the tab control (not an individual page) and pasted the > > rectagle (solid with required colour). > > I then send the rectangle to the back and then the tab control to the back. > > The problem is that most (but not all controls remain hidden) on each tab. > > Subform and list boxes are visible, but labels and text boxes aren't. > > I've done this before in another application, but can't remember how I did > > it. > > Any ideas? > > > > -- > > Bob Darlington > > Brisbane Not sure I understand your issue. Anyway, check in properties and set the background to transparent. ...

Replace Function in Access 2000 Report Text Box Control Source Expression Quits Working in Windows 2000
I've had an Access 2000 app running successfully for many months on both Windows XP and Windows 2000. Recently when my Windows 2000 users call a particular report, they get first a dialog requesting a "Replace" parameter. If the user clicks OK, the report opens, but only displays #Error. When the user tries to close the report, he is next presented with the choice of halting the code in break mode or not. Regardless of his choice, the app locks up and the user has to close the app with Task Manager. There is a text box on this report with the following expression in the control ...

text control box
This is going to be an easy question, but it's been troubling me for a while. I have a boolean switch which activates a true/false program. I want a text box to appear, saying ."please select approopiate input" (or something like that). If the user clicks ok, i.e. selecting the input, the boolean swicth runs the program. If the user clicks cancel, the boolean swicth remains false. I can create the dialog box to appear when the switch is pressed, but when i click ok or cancel, it closes then opens again creating a loop of these boxes. I don't know what to do? Any help wouild b...

how to access database control of many oracle10g database instances on same server
I am on Redhat Linux 9 and using Oracle 10G (10.0.1.3?). I know how to create a Oracle database instance and use EM database control to administer the database. To access database control from a browser, Oracle asks to enter a URL: http://server_name:5500/em The URL does not specify the ORACLE_SID. I however want to create several database instances on the same box. Will Oracle automatically set up a different port (e.g., 5501) for second instance. All the documentation I have found on Oracle's web site refers to a single database instance on a server. Appreciate any pointers. Thanks a lot, Prem You need to read about Grid Control. Actually when you create your database using DBCA, it should ask you whether you want to use Grid Control or DB Console. Jining Han Jining Han wrote: > You need to read about Grid Control. Actually when you create your > database using DBCA, it should ask you whether you want to use Grid > Control or DB Console. > > Jining Han I hae read about Grid Control, but I think there is still a way to access many instnaces on the same server using database control. Prem Of course you can, a DB Console for each database, and you can choose that as your preferred approach, too. But I really think it's a waste of resources and a big inconvenience. You are probably better off with the "tradictional" desktop console. Just my 2 cents. Jining Han <premmehrotra@hotmail.com> wrote in message news:...

Valve control
Hello, I am still trying to figure out a method of controlling a discharge valve for compressor testing.&nbsp; The valve is controlled by a slider, but when it hits a certain point of being closed, the compressor surges.&nbsp; At that surge point, I want the user to click a button, and then have the valve slowly open while the data is being sent to&nbsp;a file.&nbsp; This way, the data is recorded and the valve opens to prevent damage to the compressor all at the click of one button.&nbsp; I have the VI up and running, all except for the opening part of the valve.&nbsp; I have included a simple example of where I am going with the valve control.&nbsp; Any advice would be appreciated, for then I can implement that code for the valve opening into the rest of my programming. &nbsp; Thank you, &nbsp; &nbsp; Jmc Valve control.vi: http://forums.ni.com/attachments/ni/170/198874/1/Valve control.vi ...

tab control strict typedef hides controls
"Has the issue of no typedef tabs been resolved in LV7? I am modifying a LV61 vi and severely broke the panel trying to convert a tab to a typedef. I was able to customize, however there was a compile/save error and all the embedded controls on the tab pages became hidden and un retrievable." Jim Henderson" Zvezdana In my disgust, I had deleted all copies of the offending vi. I believe my problem must have been, primarily, a corrupted compile/save. Thanks Jim ...

How to control the tab control using event structure?
Hi, I am using tab control and event structure in the program. When i run the application event is not happening for the active page. When user switches from active page to the other page then event is&nbsp;taking place for all pages &nbsp; So, how to get the event trigger for the active page when the application is started &nbsp; For more clarification i am attaching the code "Test Control Tab using Event Structure.vi" Test Control Tab using Event Structure.vi: http://forums.ni.com/attachments/ni/170/288159/1/Test Control Tab using Event Structure.vi You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW. - The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again. - If the stop is pressed first, the VI will stop. Game over. - If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events.&nbsp;The VI is trapped inside the event until stop&nbsp;is pressed to&nbsp;stop the VI. you were closer to a reasonable program in the other thread: <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&amp;message.id=287905"...

OT: MS Access runtime wants to control all MS Office charts
Office 97, Access 97, Sagekeys scripts. In addtion of Access 97, my runtime package is installed too. This is an old application that has been running since 1998. The customer is happy with it. I have a glitch in.... Powerpoint 97. When an user double-clicks a chart, it starts my Ms Access Runtime Installer! It will do the same if he right-clicks and uses 'Edit'. If he selects 'Open', it will do it in a separate windows and it is Ok. Thius probably comes because MS Chart is shared among office apps. I would really like to have this problem even if there is a turnarou...

Unbound text box, text>255, MS Access/PostgreSQL
Hello. I have the following problem with MS Access/PostgreSQL combination: There is a form in Access that has an unbound text box, used for entering a commentary of a batch of records. There is a DAO Append Query that has a parameter that is passed from the text box using parameter of DAO QueryDef object. I adjusted B7 parameter (Text as LongVarchar) in connection string (ODBC driver) to 1, so that Access links PostgreSQL Text fields as Memo fields in Access. The intention was to be able to enter unlimited length commentary into the field. But, although I can enter unlimited text by using...

Web resources about - Control visiblilty of a text box on a Tab Control - comp.databases.ms-access

24-7PressRelease.com Sitemap - 24-7 Press Release
24-7 Press Release news media distribution website Sitemap..

Fashion & Beauty - marlo marketing
The incredibly competitive, high-visiblilty worlds of fashion and beauty change constantly, fueled by the annual arrival of seasonally-driven ...

ABB Collaborative Production Management
Collaborative Production Management (CPM) decreases costs through better production scheduling and management, and increases revenues through ...

Resources last updated: 3/20/2016 10:09:49 AM