How to create a custom control of a button where the look will be applied to all others but not the Boolean text?
Hi all
I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
Stay Hungry, Stay Foolish
Solved!
Go to Solution.
Steve Chandler wrote:
I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
Kudos for being sneaky.
I like these creative work-arounds!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
I have three Blue Yeti USB Microphones, and when I try to create an aggregate device in Audio MIDI on my MBP it lets me select two microphones but not the third. At first I thought maybe the third microphone was just defected or something but I tested the mic individually and it works fine. It'll let me use two Blue Yeti's and another microphone but not three Yeti's at once.
David Boroditsky wrote:
The problem is that the mac chokes on having 2 identical mics attached at the same time.
Ive had 2 identical USB AT2020 mics connected at the same time on both macbook pro and macbook Air.
The "Yeti" mics, are, lets say undesirable, and low to mid computer consumer mics. -
How to create new UI control (e.g. button) ?
Hello VC experts,
I have VC 7.0 installed and already create a model and some iviews, all worked perfectly.
Now suddenly i cannot create new UI controls in a form. The popup with the list of control types is just empty.
Very strange: it works on the TEST and PROD system, but on the DEV system the popup is empty.
What can I do ?
Thank you for your help!
Johannesthis happened to em a couple of times.
it just went away after i saved my model as a new model and opened it again.
sometimes it also occurs if you have a old componenet from an older support pack and you ahve recently upgraded as well.
best option is if your model is not too big , just to recreate it in the new elements -
Hello,
I have a Win7 PC. I want to block all incoming connections except 3 or 4 IPs. How can i do this?
I created a new rule to block all connections using this steps:
Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > All Local/Remote IPs > Block the connectiion > All profiles > Then i gave a name
This rule works fine and blocks all incoming connections.
Then i want to create a new rule to allow specific IPs using this steps:
Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > Remote IPs: 192.168.10.5, 192.168.10.10 > Allow the connection > All profiles > Then i gave a name
But 192.168.10.5 and 192.168.10.10 couldn't reach W7 machine.
(If rules are disabled or FW is off; both IPs could reach W7 machine)
ThanksHi,
How did you check these two IP address? Through remote access? According to your description, it should only allow remote IP could access this computer. Please also allow local IP for test.
Roger Lu
TechNet Community Support -
When I go to QVC and look up an item then I scroll down to see customer reviews their not there, this problem was not on firefox 3.
Your phone is in recovery mode. Do as the diagram suggests and connect your iphone to iTunes on your computer and restore.
-
How can i create a custom control, indicator
This is FredFred,
How can i create a custom control switch with 3 or more options,
OFF
ON
STANDBY
Other than rocker, slide, or toggle switch, are there other switches that we can use, hence, the question of creating a custom switch.
Also, is there a way to create an indicator with two options. Enclosed is a jpeg with an example of what i need
Thanks in Advance
Attachments:
sample switches_displays.bmp 720 KBHello.
Boolean controls can only have 2 possible values, true or false, and there is no way to add more values to them.
If you need more values, then you must use a numeric control (or a string, but I tend to like numerics better, although strings could be just as useful).
There are several types of numeric controls you could use to provide 3 or more options. Attached is a VI which shows a ring, a knob, and a slide each with 3 possible values. In your code, you would then perform different actions depending on the numeric value of your control.
Hope this helps,
Alejandro
Attachments:
NumericsWith3Options.vi 14 KB -
How do you create a custom control which has several buttons?
Can you do this in LabView?
I want to make it so that one button will disable or switch the value/state of another. (Think minesweeper). I can create the logic in a subVI, but only if I have access to the property nodes of each of the buttons.
I want the front panel of the main VI to have the buttons on it, and I don't want the buttons to appear in a separate window.
If I place all of the buttons individually on the front panel of the main VI and pass their references to the subVI, I end up with tons and tons of variables in the main VI block diagram. It works but is very very messy.
I tried to create a custom control with a cluster of buttons in it, but I can't seem to get at the individual property nodes. Is it possible?
(*sighs* I wanna Class!)
Thanks in advance
jenHi Jen
Yes it is possible to get the individual property nodes of controls that are in a cluster.
You have a property Controls[] in the property node of the cluster, so you get an array of control references. You just have to extract the single references to access the controls.
I attached a screen-shot, which shows this possibility.
Hope it helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
Cluster.jpg 11 KB -
How do you Create a Custom Control
Is it possible to create a custom control under LabWindows ?
I want to creat a control that represents a mobile phone.
It will be a rectangle with about 4 lines of text displayed in it witch needs to be programmatically entered and the back ground colour needs to be able to be change to represent different states also programmatically.I don't know if it's possible to create custom controls under CVI. I can suggest you some hint to help solve your problem.
As for the second part of your question, you could use a picture ring with different pictures (with different background color) associated with the different states in your program. When program state changes you will only have to SetCtrlVal (panel, control, state) to have the picture ring display the desired colour. I guess this is a simple indicator, so you can put Control mode to indicator and hide inc/dec arrow in order to exclude operator's managing of the control.
As a workaround about the four line of text to be displayed, what about putting on top of the picture ring a simple text box or text message with transparent backgroud col
our and frame colour? At the cost of managing two different controls, the matter should work...
Roberto
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
HOW TO CREATE A CUSTOMER EXIT VARIABLE
<Moderator Message: use lower case letters next time, we don't want you to shout. --> see rules of engagement>
hi,
How to create a customer exit variable..!
in a query designer i have created the customer exit variable ,in the cmod i have created the project
for the exit rsap0001 and kept the break-point....but when i executing the query via BEX-Analyzer
where control not stoping in the break-point..
can any one help me ..what is the approch i need to do.because i new to BI..
Regards,
shahina.....!
Edited by: Siegfried Szameitat on Dec 17, 2008 10:37 AMHi Shahina,
1. Create formula variable var1 from to date using replacement path.
2. Create another formula variable var2 for current date using customer exit or you can use standard
formula variable for current date
3. Create calculate key figure ckf using var1 & var2.
ckf = var1 - var2.
Thanks == points
Regards
Sudheer
Edited by: SUDHEER on Dec 17, 2008 10:41 AM -
How to create Dynamic Table Control
Hi
How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
Regards
PrasathHi Jonathan,
Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
Please confirm my understanding.
1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
dynamic columns.
Your opinion on this will be helpful.
Regards
Prasath -
How to create a custom function module with the records in SAP R/3?
Hi All,
How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
Regards
SaraHi
goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
Look at the below SAP HELP links, These links will show you the way to create a Function Module
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm -
How to create a custom layout set to display the KM folders...
Could someone please tell me how to create a custom layout set to display the KM folders?
Thanks,
Sudha.Hi Sudha,
Please check the following blogs whick will guide you step by step.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4123
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3071
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/c91b5610b65b4aa8204d09384d156b/frameset.htm
If helps reward points
cheers
dev -
How to create a custom task in SRM for the standard task
Hi Gurus,
How to create a custom task in SRM for the standard task eg: TS10407929
regards,
George.from PFTC itself. Same.
-
How to create an custom template for cheque printing layout?
Hi, I have a question about cheque printing format set up in SAP Business One.
All the the system standard templates in u201CCheque print lay out designeru201Dare u201Ccheque-stub-stubu201D or u201Cstub-cheque-stubu201D or u201Cstub-stub-chequeu201D (three portions). What I need is u201Ccheque-stubu201D (two portions)only. Anyone knows how to create an custom template?
Thanks.
Edited by: Angela Zhang on Jan 17, 2010 7:18 AM
Edited by: Angela Zhang on Jan 17, 2010 7:18 AMHi Angela,
Check the thread,
Re: Preprint AP check - stub/check repetitive area fram size
CHECK PRINTING
Re: check/cheque for payment printing posting date on stub
PLD Check-Stub-Stub
PLD Check
PLD Multiple Check printing
Regards,
Madhan. -
How to create a custom measure for each level of a dimension
Hi all!
Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
one or more measures.
thanks in advance
hope someone helps me.For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
d_aben18
n1_aben18
n2_aben18
n3_aben18
n4_aben18
herarchy:h_aben18
cube:cubo_aben18
measure:med_aben18
I create this code to fetch the data to the dimension:
TRAP ON CLEANUP
SQL DECLARE c1 CURSOR FOR SELECT-
total_product_id,1,'N1_ABEN18',total_product_dsc,-
class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
family_id,1,'N3_ABEN18', class_id, family_dsc,-
item_id,1,'N4_ABEN18',family_id,item_dsc-
FROM PRODUCT_DIM
"OPEN THE CURSOR
SQL OPEN c1
"FETCH THE DATA
SQL FETCH c1 LOOP INTO-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
:APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
:D_ABEN18_long_description,-
"SAVE THE CHANGES
UPDATE
COMMIT
CLEANUP:
SQL CLOSE c1
SHOW 'KK2'
Then I create a cube with use compression off, and in rules sum for example.
After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
for that I create another program:
VRB D_RETURN DECIMAL
if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
then D_RETURN = 1
if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
then D_RETURN = 2
if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
then D_RETURN = 3
if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
then D_RETURN = 4
else d_return=26
return d_return
"SHOW D_RETURN
cubo_aben18_med_aben18_stored=d_return
but it doesnt work.I dont know how to put to assign or to see what I want.
I report the measure, or I report the program, but then how can I see the values of the measure?
thanks in advance
Maybe you are looking for
-
Equium L300 - CD/DVD drive issue - error Code 39
*Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)* This message is appearing in the device manager under CD/DVD ROM Drives for my laptop and is not running any cd's/dvd's. I don't know much ab
-
I make my own cards from photos of my paintings. I would like to have a line of type below the photo to print as greeting card. I can find no way of doing this.
-
Premier Pro CS 5 help with a few items
How do I select footage from the imported footage example – 00001 to 10000 and I want to export frames 00999 to 01999. How do I import an image, one frame, and zoom in to or zoom out of an area of the image non-destructively? Or would using after eff
-
Sometimes my maps and documents on my desktop are rearranged when I restart my computer
Sometimes my maps on my desktop are rearranged on the desktop when I restart the computer. Is there A way to go back to the original display and sort order?
-
Everything is functioning fine on my mac; but my terminal is blank and won't accept input. Just blank. Just get a normal error sound