Hide or show a form
Hi all
I have a form with tabs and want the user to select the two options of two groups of options different Type and the property that lie on the same form. If the selected two options in options groups meet a condition, then should display only one form of tabs.
I showed my code below that does not work properly.
Please tell us what might be the problem or there at - it an alternative code.
Code:
Private Sub Ownership_AfterUpdate()
If Me.Type.Value = 1 And Me.Ownership = 2 or 3 or 4 or 6 then
Me.HousesToRent.Visible = True
Me.HousesForSale.Visible = False
Me.ApartmentToRent.Visible = False
Me.ApartmentForSale.Visible = False
Me.OfficeAndWarehouse.Visible = False
Me.PlotForSale.Visible = False
End If
If Me.Type.Value = 3 and Me.Ownership = 2 or 3 or 4 or 6 then
Me.HousesToRent.Visible = False
Me.HousesForSale.Visible = True
Me.ApartmentToRent.Visible = False
Me.ApartmentForSale.Visible = False
Me.OfficeAndWarehouse.Visible = False
Me.PlotForSale.Visible = False
End If
End Sub
You can ask your question on Stackoverflow or MSDN:
MSDN - MSDN forums - Microsoft
This community does not have development related issues.
Tags: Windows
Similar Questions
-
Hide and show region - open if Item not Null
Hello
I use APEX 4.0 and can not find a way to get the skin and see the region develop if a Page element has a value (is not Null) in the region, without clicking the sign more. I would like it done automatically based on an item that has a value or not. null or not null. I know how to have always hide it and see the region see the/develop once the shape is present. But if the item is null the region hosts not on the loading of the page, but when an element has the value when the page opens, I want the area to be open / extend without having to click the sign more. I searched the forum and found a large number of threads to have just the Hide and Show open area / develop once the form on the page is open, but not what I need now. Thanks for reading this thread and look forward to a support for this issue.Hi Charles,
I created a dynamic action on page 7, it works as expected.
This code will only work with your current theme, because the rocker is made according to the css class of the > icon (as you can see in the live action)
Thank you
-
Hide or show rows in the table with AppleScript?
I have a large table number, and I sometimes want to display the entire table and sometimes select a group of lines to hide or show, to make the display of data more convenient.
By selecting many rows to hide is tedious (there are many, and they are not contiguous). So I would use AppleScript to do this. But in the numbers AppleScript dictionary, I don't see any way to apply an attribute "hidden" in rows, columns or beaches. Y at - it a trick I'm missing? Or it simply not exist in the current implementation?
Thank you
AFAIK, you can't hide a line or set a height of 0 using AppleScript, although I suggested that any time via numbers of > provide comments numbers in the menu.
What you could do is filter the table to hide the lines, probably by adding a column filter designating the lines that you want to see (or, conversely, hide). This filter can be turned on and off via AppleScript using the filtered table property, although it would probably be easier to do via the integrated interface.
SG
-
Lack of "automatically hide and show the menu bar.
Hi all, I want to hide my menu bar. I watched how disappear - it turns out that the checkbox "automatically hide / show menu bar" is missing. It is supposed to be under "use donkere menubalk en donker Dock. Why is it missing? Thank you very much!
Hi Mjappie
This feature has been added in El Capitan.
You must update to 10.11.3 to hide and show the menu bar.
-
What happens if selected fonts "hide" or "show"? -option of Control Panel on pc
Hello
If I see for example an info "missing font" in the software Indesign - I can have this 'missing font' installed on my computer but Indesign are unable to find, because this font is selected as 'hide' the controlpanel-management of fonts on my computer? -should I select/turn to 'show' - for Indesign can find this missing font on my computer?
It is impossible for the software which uses the fonts - to find the fonts that are chosen as "Hide" in the Control Panel on a computer?
What is the purpose of "hide" or "show"? As "capable" and "incapable" is to say 'show' and 'hide '?
Someone please clarify this. I don't understand. I would appreciate your response.
mohammadm41557414 wrote:
Well I'm not CS6 talking the monthly paid Indesign.
[...] It seems that the best thing to do is to "unmask" the folder fonts fonts OS to ensure that they are not hidden from the Indesign software.
Sorry, you're not.
Of course, you can display font, if there is place in your folder hidden fonts. It will do no harm.
Or - if desired - hide a bunch of them with equal success.
The fact is - InDesign just don't like on this subject.
If you have problems with the fonts in ID - find somewhere else. Forget that hide and show things.
--
BTW, just tested for you to ' more 'last n' Win10 / InDesign2015.2.
No surprise here: nothing has changed, the behavior is the same.
-
Automatically expand a Hide and Show model region when the Page loads
Hello
I work with a Hide and Show region model, and I'm trying to accomplish the following:
When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.
I use Apex 4.1.1.
Any ideas?
Thank you
ErickHello Joe,
Thank you for your response.
This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.
For those interested, check this thead element: Re: hide/show the region
Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();
Thank you
Erick
-
Hi friends,
I'm creating a JXML application. I need to hide or show the components on the screen. To do this, I'm looking for some attribute of control as 'rendering' of the JSF is work in the same way on JXML. Anyone know to do?
Thank you in advance.
Published by: paulonep on 02/27/2012 10:07I guess you mean 'FXML '? I'm not an expert in JSF, so I'm not sure, there is an exact match, but have you looked at the property 'visible '? For example:
-
Dynamic action - Hide and show interactive report
Hello
in the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.
The approach described in the article should be case for normal or interactive reports.
But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.
Has anyone had similar experience?
Greetings
MichaelHello
You are welcome.* It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
Thank you
Logaa -
conditional hide or show columns
Hello
I'm starting to work my way in OBIEE and have a problem that I can not find a solution.
I need to create a table in the responses with static columns and a single column that I change with a column selector. So far no problem. The problem is that for a selection, I need an additional column on the screen, so it's a kind of conditional hide or show. Here is a cut from the version of the problem. Columns 1 to 3 are fine, but I'm stuck with column 4.
Expected result:
Permanent show:
Column 1: ID
Column 2: name
Editable by guest column selector:
Column 3: City or Occupation OR status
Must appear when in the city of 3 Col is selected
Column 4: Street
Any help is highly appreciated
TuralfCreate a new column in the responses and concatenate the city and the street. You will need to format the appropriate column. This is the base column. Select the status and Occupation of your column selector column.
-
Hello
I use hide and show areas on my page. But now I have a problem. Whenever the page is reloaded, all regions are reduced. Is it possible to ensure that the regions that have been opened, are open again when the page reloads.
Thanks in advance,
Bram.Hi Bram
Check this.
[http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]
See you soon
Ben
-
Hi all
I have a form in oracle apex3.1, including some elements of form as below.
================================
Name: textbox
job: radio botton with (freshor, several)
year of experience: tx
If I select the experienced employment radio, I have to post "year of experience: tx ' otherwise no need to display this line.
=================================
Please help me. I'm trying a last period of one month. Please give me the step by step procedure.
Thanks in advance.
Concerning
Dhanush.RYou should read the related discussions - links are on this page. He also says:
6. for hiding / showing of unique items model label has been created
with an extra ID for the label:ID = "' L_ #CURRENT_ITEM_NAME #" "
TabIndex "999" = >
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------- -
hide or show a control of whith sous-forme a check box
Hello
I don't know how to do this.
I can't put it in "on click" because click can check or uncheck the box.
Please help me
THX
Nath
Hi Nath,
I don't understand. The usual approach is to allow the user to check the check box, for example checked = subform is visible, unchecked = subform is hidden.
Is that what you're after?
If so, it should work in the click event:
if (this.rawValue == 1) { subform.presence = "visible"; } else { subform.presence = "hidden"; }
If you are after another behavior, can explain you more.
Niall
-
Hide region show how to maintain the status of hide/show on send page
APEX 4.2.1 using theme 24
I have several areas on a single page that are defined using the "Hide Show Region" model this model defines the regions to show everything first. If a user chooses to hide a region is there a way to keep this state when the page is submitted? Example region top of page is to hide/show parent to an interactive report, below this area is a relative of region to hide/show for a tabular presentation, if the user chooses to hide the interactive report region and they enter data in the region in a table, when he clicks on save and the page is submitted the interactive report region appears and the tabular form region appears still longer down in the page and the user have to scroll down to access. I'd rather have the page 'to remember' the State of hide/show that the user has selected for each region and keep this status when the page is sent.
Someone has an idea how to do this?
Thanks in advance for a suggestion to work!
Theresas
You have almost all the way.
As you have probably already understood, the problem is that the code requires that regions begin closed and it will 'click' to open. If you're one of them is already open, you have now two inverse regions.
I think that it is better to have them both be areas closed, when the cookie should be created (we were a new cookie for that) then "click on" one you want to open and create the cookie with this region in. From that moment of the code can continue to click on the one that was left pending.
So, I added more code to the initial opening. I introduced the P2INIT cookie which will be set to YES the first time the page is visited. Its only purpose is to open the region to report on the first visit.
After that, the logic can circulate to store regions that can be opened.
Also, I have completed the static ID of the report to better reference by name.
Now, I have to say, if you are presenting the same data, but a game is available to edit in a tabular form, something like Page 3 would work?
When you click on edit the grid it will hide the report and view the form in a table. When you click 'View report' he hide the form tab and view the report.
I think it's a clean approach and the data are not queried the DB double. It also avoids the flicker of the openness of the region. Just an idea.
I use preferences instead of cookies. The nice thing about the preferences, it's that they are saved in the DB for the user, so if the same user logs on to another computer or a browser preference comes with them.
Thank you
-Jorge
-
How to hide and show based button if the line is selected in a table
Hello
IM pretty new to apex. I use version 4.1. I have a tabular form and I want to do is only have the button Show delete if I select a row in the column [line selector]. Is this possible using a dynamic action? I tried this way without success. Please help or let me know if you need more information.
Thank youDo you mean if the box is checked in the line?
Assign a static ID for the button Delete, for example MY_DEL_BTN. Search for 'Static ID' in the attributes of the button section.
If so, do an advanced Click-based dynamic Action and a jQuery selector. Generally, this element is the name "f01" but, sure. Assuming that it is "f01" then your jquery selector would be:
input[name="f01"]
define the scope of the event live.
Your dynamic action will trigger JavaScript. (BE SURE TO DESELECT FIRE ON PAGE LOAD). To make sure that you have the jQuery selector right, initially just to put a pop-up message in the JavaScript.
alert('You Clicked the Row Selector!');
Run the page. Click on the line selector. If you get the noise until you have specified the jQuery selector correctly. Yay!
Then, assuming the above is correct. You can now determine if all have been selected.
Now, set it to SELECT FIRE on PAGE LOAD (you want deleting DialogResult.Cancel when you open the page).
Change your JavaScript like this:
var checkedCnt = $("input:checked").length; if( checkedCnt > 0 ) { $('#MY_DEL_BTN').show(); } else { $('#MY_DEL_BTN').hide(); };
-Joe
-
How to re - hide div on reset form
Hi all
I was wondering if someone could help me with something I'm working on. I have a form that I have two div that will show / hide based on the made radio button selection. What I want to do is hide the divs when the user clicks the reset button. Is there a way to do this?
<div style="width: 250px; float:left; height: 70px"> <label>Do you have some photos</label> </div> <div style="float:left"> <!-- // Javascript // --> <script language="JavaScript" type="text/javascript"> function showhidediv( rad ) { var rads = document.getElementsByName( rad.name ); document.getElementById( 'one' ).style.display = ( rads[0].checked ) ? 'block' : 'none'; document.getElementById( 'two' ).style.display = ( rads[1].checked ) ? 'block' : 'none'; } </script> <input name="pagetype" type="radio" value="Yes" onclick="showhidediv(this);" />Yes <br /> <input name="pagetype" type="radio" value="No" onclick="showhidediv(this);"/>No<br> <br /> <div id="one" style="display:none; float: left; margin-left: 100px; margin-top: -40px"> <div style="float: right; margin-top: -22px"><img id="uploadPreview" style="height: 70px; width: auto" /></div> <input id="uploadImage" type="file" name="image" onchange="PreviewImage();" /> <script> var oFReader = new FileReader(); oFReader.readAsDataURL(document.getElementById("uploadImage").files[0]); oFReader.onload = function (oFREvent) { document.getElementById("uploadPreview").src = oFREvent.target.result; }; </script> <script type="text/javascript"> function PreviewImage() { var oFReader = new FileReader(); oFReader.readAsDataURL(document.getElementById("uploadImage").files[0]); oFReader.onload = function (oFREvent) { document.getElementById("uploadPreview").src = oFREvent.target.result; }; }; </script> </div> <div id="two" style="display:none; float: left; margin-left: 100px; margin-top: -40px"> Stuff written out here </div>
The above code works fine, but it is not re - hide the divs when the user clicks the reset button of the form. Any help would be appreciated. Thank you.
I think you need to reload the page.
Nancy O.
Maybe you are looking for
-
Hello. I have some German questions, maybe someone of you can help me to answer questions about the history of the Apple...! Sah das erste Firmen-Logo von Apple aus wie? Warum wurde beim grosser Wert auf Typografie very Mac? Wann sold Apple first did
-
We would like to have a file showing all the daily alarms past and present (such as an excel file) that we would be able to read messages and also print them as needed. We also want a push button on the Lookout we could press as a shortcut to this f
-
Fix of the radio in the next firmware update
What I'd like is if they could correct the interference with radio, as recording before I start to record the station comes in perfectly but when I start to record that it is almost entirely static.
-
running in temporary profile system how do I change to standing
use series HP Pavavalion g my sound now showing that I was connected with a temporary profile and I did deleted sid key using regdit three times, but its still the same watch I need help to my system with normal profile
-
Cannot find Setup spellling in Vista Ultimate.