Visible Property to False
Hi,
I have to display set of items of block B1 and then hide items of block B2 and display set of items of Block B2 and hide items of block B1 based on the user selection.
My clarification is that is there any possibility to set the property of the block as visisble to false so that all items belonging that block can be invisible.
This would reduce writing lot of code..since the block contains more than 50 text box items and many check box.
Also I need to avoid using stacked canvas.
Thanks in advance
the trick is the stacked canvas. else you have to create a generic routine, which goes through all of the items of your block
Similar Messages
-
JPEG image of a chart created while visible property is false has no plots shown
Hi
I have a chart which I control the visible property while it is plotting data. This works fine until I want to create a jpeg image of the chart when the visible propert is fasle and all I get is a chart without any plots.
Any way around this?
Thanks in advanceBeing a newbie my and 1 week into LabView still getting to knoiw the ins and outs of the thing.
Well to ellaborate:
I have a chart which needs to be only visible when the user presses a 'view' button. When pressed this changes the visible property to true and the chart is displayed with the correct plots. Problem is theat when the user clicks a 'stop' button I save the chart to a jpeg (the user does not want to see the chart at this point) . This does work when the chart is visible all the time and out of view. The only crude way I have managed to get it to work so far is by changing to screen position of the chart and making in visible when the stop is pressed and moving it to the visible screen when view is pressed. See my crude solution attached:
Message Edited by neergh on 09-20-2007 06:23 AM
Attachments:
VI test.vi 103 KB -
Saving chart images when visible property is false
I've got an application where I chart several variables while the test is running. In the process, I turn the chart visible properties to false so I can display a large summary x-y graph. I want to save all the charts and the summary graph as jpgs, but not until later when I pass the references to the charts/graph (and gads of other stuff) to a handy data reduction subVI. Using this sequence of events, the currently non-visible charts are all saved blank. As always an example is easier to demonstrate what's going on than words, attached is a micro-version of what I want to do with these plots. Is there any decent way to get these saved without a massive overhaul?
Thanks, Jesse
Attachments:
misc tinker 2.vi 105 KBI am new to this forum but used labview way back to 4.1 version. Anyway here is a modified version of your code, it seemed to work except there is a split second of switching back and forth of the first two plots but it is fairly fast enough though.
Attachments:
serialplotcapture.vi 122 KB -
Non-Script Way of Setting Visible Property
Why hello there!
I am looking to set the "visible" property of a movie clip in
the Flash CS3 designer, as opposed to using AS3.
In my movie, I set a movieclip to invisible in code
immediately. However, I sometimes see the artefact of the image for
a split-second on running the swf in my browser. I would therefore
like to set the property in the designer.
I am guessing that there is not a way of doing it. Are there
any suggestions?
I'm now considering setting the alpha value to 0 in designer,
and then setting the alpha value to 1 in code when I need to be
able to see the mc.
Raffi.Hey kglad,
I appreciate the prompt response. Sorry I wasn't clear enough
in my initial message.
I am simply looking to be able to set, say, a rectangle
primitive to invisible without having to set in the code. At the
moment, I am setting the visible property to false in the first
frame in the code. However, as a result, I sometimes (not
frequently) see artefacting when I run my movie. The rectangle very
momentarily appears before disappearing.
Raffi. -
Af:column visible property
Hi,
I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
I want to pragmatically control the visible property of the af:column inside the table.
I have the following code for af:column.
<af:column sortable="false" headerText="Impact Cat New" id="c7" visible="#{row.bindings.Selected.inputValue}">
</af:column>
Initially, the value of 'Selected' will be false when the table is first displayed and hence it should NOT be displayed.
In the table selection listener,I set the property 'Selected' to true for the selected row and refresh the table[AdfFacesContext.getCurrentInstance().addPartialTarget(tblEmp)].
But Even after refresh the table is never showing the column for which visible is set as true.
The table is inside a panelCollection.
Please advice.
Regards,
PraveenThis won't work, as the column is the container for all rows and the row attribute is only available when the table rows arr stamped. I don't understand your use case. You want to show a column if one row gets selected? Sounds odd to me.
If you really want to do this, you have to set an attribute outside the table and use the selection listener to switch this attrbute. Then use the new attribute in the columns visible property.
Timo -
Set item property to false and true
when i set item to false and then set item property to true. The item is displayed but its gray out and not enabled. Am i missing something
Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_FALSE);
and then
Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_TRUE);Check the Forms online help on Set_Item_Property, near the bottom in the usage notes. Lots of things happen when you set visible to False:
Setting DISPLAYED to False:
sets the Enabled and Navigable item properties to False
sets the Updateable item property to False
sets the Update_Null item property to False
sets the Required item property to False
sets the Queryable item property to False
So you may need to set more of them back to true in your code when you want to make it re-display. -
Tracking the visible property of a movie clip
Hello,
I am trying to track the visible property of a movie clip as
I need to perform a function when visible = true and another when
visible =false
I have tried to use a listener object but I can’t get
it to work. Can you attach a listener object to listen for the
visible property?
I have also tried an IF statement inside the move clip but
this only knows the state of the ._visible when it first runs.
I have got it to work with an onEnterFrame function on a
movie clip inside the one I want to know the property of but I
don’t like using the onEnterFrame as it uses a lot or
processor speed
Is there an easy way to track the visible property of a
movieclip???
Thanks
Sam.> thanks for the help but the watch() method doesn't work
for getter/setter
> properties. is ._visible a getter/setter property?
I was afraid of that. Yes, _visible is a getter/setter, most
properties are. Basically watch() only works on read-only
properties and custom variables, which is a shame.
So I don't know of any more elegant way than constantly
checking to see if the value changed. Centralize it and maybe
package it in a nice class and you might feel a little better about
it... -
Visible property for transient attribute.
Hi,
I am using J developer 11g Release 2.In my page i need to set the visible property for the transient attribute(conform password) because the transient attribute needs to be disable for some condition.I have tried but the property was working only when the attribute is not transient.Can we set the property for transient attribute?
Help me on this..
Thanks,
Suganya.
Edited by: Suganya on Feb 27, 2012 1:40 AMDisabling the visbile property:
<af:inputText autoSubmit="true" id="it6" label="Table Attr"> </af:inputText>
<af:inputText partialTriggers="it6" visible="#{bindings.AphdBe.inputValue eq null? 'false' : 'true'} " id="it2" label="Trans Attr"> </af:inputText>like this you should h'd.
normally we use transiet term in vo's while coming to part ui.
it will consider as attribute. no thing difference bwtn those attribute as timo says.
--edited lately. -
In Flash, I can set the visible property of a MovieClip with ActionScript as follows:
coke_mc.visible = false;
How do I accomplish this in edge?Option 1. For Timeline interaction, Select the Element from the Elements Panel, go to the Properties Panel and from the Visibility section (Always On) choose Off.
Option 2. On handler event interaction, assumming the element name is called coke
sym.$("coke").hide(); // this hides it
sym.$("coke").show(); // this shows it
More API detials here http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html
Darrell -
Outlook Form Region Visible property on outlook 2007.
Hello,
I have this code:
private void AttachementRegion_FormRegionShowing(object sender, System.EventArgs e) {
try {
OutlookFormRegion.Visible = false;
Outlook.MailItem mailitem = ((FormRegionControl)sender).OutlookFormRegion.Inspector.CurrentItem as Outlook.MailItem;
MailManager mailManager = MailManager.getInstance(mailitem);
mailManager.NewTask += AddTaskControl;
flowLayoutPanel1.MouseWheel += flowLayoutPanel1_MouseWheel;
} catch (System.Exception) { }
But on Outlook 2007 the line "OutlookFormRegion.Visible" bug.Hello Aurelien,
It is not a bug. The Visible property was added in Outlook 2010. -
How I can change visible property of an af:table with an af:selectOneRadio?
How I can change visible property of an af:table with an af:selectOneRadio? Anyone can help me with a tutorial, example or link?
Thanks in advance.After you add the required libraries to your classpath
you can do your use case as explained in this sample
page source
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="untitled2.jsf" id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:selectOneRadio label="radio" id="sor1" autoSubmit="true"
valueChangeListener="#{ControlVisibilty.onRadioSelected}">
<af:selectItem label="0" value="0" id="si1"/>
<af:selectItem label="1" value="1" id="si2"/>
</af:selectOneRadio>
<af:table value="#{bindings.DepartmentsView1.collectionModel}" var="row"
rows="#{bindings.DepartmentsView1.rangeSize}"
emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.DepartmentsView1.rangeSize}" rowBandingInterval="0"
selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}" rowSelection="single"
id="t1" partialTriggers="::sor1" visible="#{ControlVisibilty.table}">
<af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentId.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}" id="c1">
<af:inputText value="#{row.bindings.DepartmentId.inputValue}"
label="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
required="#{bindings.DepartmentsView1.hints.DepartmentId.mandatory}"
columns="#{bindings.DepartmentsView1.hints.DepartmentId.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.DepartmentId.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.DepartmentId.tooltip}" id="it1">
<f:validator binding="#{row.bindings.DepartmentId.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentName.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}" id="c2">
<af:inputText value="#{row.bindings.DepartmentName.inputValue}"
label="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
required="#{bindings.DepartmentsView1.hints.DepartmentName.mandatory}"
columns="#{bindings.DepartmentsView1.hints.DepartmentName.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.DepartmentName.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.DepartmentName.tooltip}" id="it2">
<f:validator binding="#{row.bindings.DepartmentName.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.DepartmentsView1.hints.ManagerId.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.ManagerId.label}" id="c3">
<af:inputText value="#{row.bindings.ManagerId.inputValue}"
label="#{bindings.DepartmentsView1.hints.ManagerId.label}"
required="#{bindings.DepartmentsView1.hints.ManagerId.mandatory}"
columns="#{bindings.DepartmentsView1.hints.ManagerId.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.ManagerId.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.ManagerId.tooltip}" id="it3">
<f:validator binding="#{row.bindings.ManagerId.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.DepartmentsView1.hints.ManagerId.format}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.DepartmentsView1.hints.LocationId.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.LocationId.label}" id="c4">
<af:inputText value="#{row.bindings.LocationId.inputValue}"
label="#{bindings.DepartmentsView1.hints.LocationId.label}"
required="#{bindings.DepartmentsView1.hints.LocationId.mandatory}"
columns="#{bindings.DepartmentsView1.hints.LocationId.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.LocationId.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.LocationId.tooltip}" id="it4">
<f:validator binding="#{row.bindings.LocationId.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.DepartmentsView1.hints.LocationId.format}"/>
</af:inputText>
</af:column>
</af:table>
</af:form>
</af:document>
</f:view>The managed bean code is
import javax.faces.event.ValueChangeEvent;
public class ControlVisibilty {
private boolean table;
public ControlVisibilty() {
setTable(false);
public void onRadioSelected(ValueChangeEvent valueChangeEvent) {
// Add event code here...
if(valueChangeEvent.getNewValue().toString().equals("1"))
setTable(true);
else
setTable(false);
public void setTable(boolean table) {
this.table = table;
public boolean isTable() {
return table;
} -
Webdynpro for ABAP, Enhancement and change of standard "visible" property
Hi
Is it possible to change the standard Webdynpro element (in cProjects application), so that the original control "Input" from visible property "Visible" is changed to mine Context variable? How to change that default "Visible" flag in standard element?
thank youHi Phani,
Thanks for the info.
I am able to see if it is not interactive.
Displaytype is native only.
Let me explain you the issue in detail:
Currently Client is calling ZFORM thro Java. They have some issues with JAVA so they want to use Webdynpro to call that ZFORM and the form is ABAP Dic based.
For Templete source I gave ZFORM name, and it automatically created a 'NODE' wrt the context in the ZFORM.
Now I have to pass data from difft node attributes to that 'NODE'.
Thanks in advance,
GG -
Change visible property of iView assigned to page
Hi,
When we add an iView to a page, we have some properties like visible, fixed,etc. mentioned along with each iView. Now, I want to change the visible property dynamically using pdk development. How can we achieve this?
Regards,
KhushbooHello Mittal,
As per my understanding you want a way to dynamically edit the property of the PCD objetcs using PDK. SAP provides an API for the same puspose. Please refer to this link for more details
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
Regards,
Raju Bonagiri -
Visible Property of lable in Webdynpro
Hi all,
I have a lable and a inputfield which are hide. I want that when a select something in my dropdownbykey, this two objects get visible.
How can i do that?
Regards,
NiraliHi,
Please look this code
1.Create one Droupdownkey UI element in your firstView (Droupdown by key is bind to the one value attribute i.e MonthName)along this u can take 2 lable. For 2 lables you can set Visibility (com.sap.ide.webdynpro.uielementdefinitions.Visibility) property.
2. in wdinit() method you can write this code
ISimpleTypeModifiable myType=wdThis.wdGetAPI().getContext().getModifiableTypeOf("MonthName");
IModifiableSimpleValueSet values =myType.getSVServices().getModifiableSimpleValueSet();
values.put("Vijay","Vijay");
values.put("Kalluri","Kalluri");
wdContext.currentContextElement().setMonthName("Vijay");
wdContext.currentContextElement().setKalluri(WDVisibility.NONE);
wdContext.currentContextElement().setVijay(WDVisibility.NONE);
3.in Droupdownby key having OnSelect event in that place you can create on method. Under method you can write this code.
String firstName = wdContext.currentContextElement().getMonthName();
wdComponentAPI.getMessageManager().reportSuccess("First Name:"+firstName);
String lastName = wdContext.currentContextElement().getMonthName();
wdComponentAPI.getMessageManager().reportSuccess("Last Name:"+lastName);
if(firstName.equalsIgnoreCase("Vijay"))
wdContext.currentContextElement().setKalluri(WDVisibility.VISIBLE);
wdContext.currentContextElement().setVijay(WDVisibility.NONE);
else
wdContext.currentContextElement().setVijay(WDVisibility.VISIBLE);
wdContext.currentContextElement().setKalluri(WDVisibility.NONE);
Hope this helps u.
Best Regards
Vijay K
Edited by: VijaySAPEP on Jan 4, 2012 4:47 PM
Edited by: VijaySAPEP on Jan 4, 2012 7:32 PM -
If I have 20 items in a listbox, each item corresponds to a control cluster. The cluster appears according to the item in the list that the user push while the other ones disappear. This is all in a While loop until the user hit OKAY. Is there a quicker way to set the visible property because the way that I have in mind right now is a case structure that make one visible and the other 19 invisible. This is very tedious because that means that I have to do the same for all 20 cases. Thanks.
I suspect that vk1 & Veeru are the same person
Have you started implementing code and need a solution for it? If so, please post the code so that we can prepare an adequate example.
R
Maybe you are looking for
-
Remote sharing is on. Verified my account and password are same. When I launch remote I get the "Turn on Home Sharing in iTunes on your computer or on Apple TV using the account [email protected]" If I go to settings, I see home sharing is on, and
-
Can I upgrade to a solid state drive?
I have a 2007 17 inch macbook pro. I want to upgrade the hard drive to a solid state. Is that possible, and if so, how much am I looking at?
-
Problems with video out after closing the lid.
I bought a Mini-Display Port to HDMI and connected it to my macbook pro and to my tv....Everything is perfect i close the lid....Now i am pretty sure i read somewhere that you can still use your macbook if you have it connected to an external screen
-
How to get mail server host?
Hi, All. I try to implement my background co and get two questions. 1. How can I get the mail server host name which I set in GP Administrator? 2. How can I get my EP server`s host name? Thanks a lot.
-
Adobe flash player and youtube are not working
adobe flash player and youtube are not working