Hide the border of a string indicator
Does anyone know how? I tried to put the T mode for both the foreground and background and clicking on it, but I still have a border.
I forgot how to do this.
Thank you
Dustin
Dustin,
It can be done, but it takes effort.
Often an easier approach is to start with a classic style indicator. Borders are not grayed out and are easier to color.
Lynn
Tags: NI Software
Similar Questions
-
How to hide the border of text entry?
Hello
I want to hide the border of my TextInput component.
I tried the following actionscript examples:
textBoxInstanceName.border = true;
textBoxInstanceName.borderColor = 0xFF0000;AND
textBoxInstanceName.setStyle ("bordercolor", 0xffffff);
But this does not work for me. Is it possible to do?
Please help me, if anyone has an idea.
Thank you
Vuille
Hey,.
the only way to change the way an object TextInput looks in your application modifies its 'skin '. to do this, you must create your own skin class which extends the UISkin class. Here is a sample, you can use a guide pulled the skin of the ASDocs page:
package { import qnx.ui.skins.SkinAssets; import qnx.ui.skins.UISkin; import qnx.ui.skins.SkinStates; import flash.display.Sprite; public class CustomButtonSkin extends UISkin { /**@private**/ protected var upSkin:Sprite; /**@private**/ protected var selectedSkin:Sprite; /**@private**/ protected var disabledSkin:Sprite; /**@private**/ protected var downSkin:Sprite; /** *Create a custom button skin */ public function CustomButtonSkin() { super( ); } override protected function initializeStates():void { upSkin = new Sprite(); upSkin.graphics.beginFill(0xFF6600); upSkin.graphics.drawRect(0,0,200,200); upSkin.graphics.endFill(); downSkin = new Sprite(); downSkin.graphics.beginFill(0x333333); downSkin.graphics.drawRect(0,0,200,200); downSkin.graphics.endFill(); disabledSkin = new Sprite(); disabledSkin.graphics.beginFill(0xCC0000); disabledSkin.graphics.drawRect(0,0,200,200); disabledSkin.graphics.endFill(); selectedSkin = new Sprite(); selectedSkin.graphics.beginFill(0x000000); selectedSkin.graphics.drawRect(0,0,200,200); selectedSkin.graphics.endFill(); setSkinState(SkinStates.UP, upSkin ); setSkinState(SkinStates.SELECTED,selectedSkin ); setSkinState( SkinStates.DISABLED, disabledSkin ); setSkinState( SkinStates.DOWN, downSkin ); showSkin( upSkin ); } } }
The above code changes an appearance a button object, but you can easily manipulate to run with a TextInput object. After you set up your custom skin class you can apply it to your TextInput object, use the setSkin() method in your application on the object itself. It's a little tricky, but once that you have been there, it gets a little easier.
Here is a link with more details on counting:
http://www.BlackBerry.com/developers/docs/airapi/1.0.0/QNX/UI/skins/package-detail.html
There are also a few posts around the forum who have good info. Here's one in particular that I refer to:
hope that helps. Good luck!
-
How to remove or delete the line in a string indicator?
I have a string indicator that receives data continuously. If the number of rows in the indicator becomes 100 then receives a new line after the very 1st line 100 line will be removed and so forth... in simple terms, I need to keep only the last/final 100 lines received in the indicator. How can I do this? Kindly help me.
Hello
Please find the attached snapshot.
Hope this helps
Concerning
David
-
Well, I found a solution. You need these TWO entries in your info.plist file:
Status bar is initially hidden YES
Discovers the appearance with controllers status bar ONLY
That's all!
-
Is it possible to output a string and digital front without the border around it?
I know that I can change the border around a string or a digital output to the screen using modern or classic, but is possible to output and the numeric values to the front channels without the border around it? This is particularly useful for panels to front I want to print.
Thank you
Chuck
You are to halfway it using the conventional versions. The next step is to get out of your paint tool and paint the color of the transparent border.
Ben
-
Best way to keep the color to be an indicator of update string
I wanted to add a feature to my swiss knife armay RS232 application.
With the help of a string indicator and indicate the read and write strings in different colors.
The program enclosed works, however since each update of the results of the chain in one color of the solution need a rewrite of all colors after each update which translates the flicker
and if you connect to data more in the indicator it is a bad solution.
An improvement would be to store only the blocks of the same color...
Someone who has a better idea or solution?
Use them to write strings in an image control.
-
I'm trying to implement a user interface where an operator can set the column headers for a report and I use indicators of the string as the placement for the text in the column headers. Given that many of them will have experience with Labview, I was hoping to set a button with the ability to add or possible delete a string indicator when you press. Is it possible to set up an event like this?
You cannot create an indicator of the string, but you can change the visibility of the existing volumes.
For example, you can display an indicator of the string, giving the impression that his creating.
/Y
-
Selected pass contains a string indicator combo box when you press the Enter key
Hello
How to pass selected contains a string indicator combo box when you press the enter keyboard key?
Right now I use a button to send the command selected in the combox to string indicator.
The photos shows a combo box with the button that I use to send to the indicator as example.
After the user selects the text to pass, "send the cmd" button must be pressed to pass the string.
I need to pass the selected string when the user press enter on the keyboard rather than press the button 'send cmd '.
Kindly to you needing help.
Hello
You can use a structure of the event to capture keystrokes and filter, transmit only the drop-down list box "value of the indicator of channel when you press the return or enter key."
Let me know it the joint allows an example (in LV 8.6).
-
Hide the month displayed in the calendar
Is it possible to hide the text indicating the month and year in the calendar?
That is to say. September 2008
I want to use an element of the selection list instead so that users can choose which month they want to display instead of scrolling thru 1 at a time.You can do this by using the CSS, which would depend on the theme, for example, the little calendar on page 4 of the sample application, using the 15 theme:
.t15SmallCalendarHolder { border-top: 1px solid; } .t15SmallCalendarHolder .t15MonthTitle { display: none; }
put the CSS code in your style or HTML page header sheet.
-
editing text in a string indicator
I use a slide switch to set either AM or PM on my front. How can I use an indicator of string and the text in the change of the indicator from am to PM that the position was on my slide switch?
Hi Mitch,
Why not use the Boolean text of the switch instead of a string indicator separated?
Why not use a simple Select function to select between AM and PM and wire the result to the string?
Why not use a case structure according to your switch?
Why not use AppendTrueFalseString?
-
How to change the background color of string programmatically?
How to change the background color of string programmatically?
Are you talking about string indicator and control chain? If so, right-click on a control/indicator of string and select Create-> property Node-> text-> text-> BG Color colors. Change to write and a number of the color you want to use phone.
-
Display error string indicator messages
Hello world
This time, my dilemma is as follows:
I work in a machine control application where I provide a display of error messages to show the machine Operteur some text links to the fault. I intend to use an array of strings and a logic to select the message to be displayed as a result of the fault using index string array to display the message in an indicator of the chain. Now, one of the requirements is that if by any reason the machine has a fault, all the defects that are displayed in the GUI at the same time, here is where my problems start. I show you a message by line, so I intend to use the end of the constant line with a string concatenation. I did a few tests with my idea, but the messaes fault shows a fixed line according to the position of entry her concatenate, I need the error messages to be displayed in the order that they appear.
If someone did something like that before, or has an idea how do or if there is a better way to do that I have in mind (as explained above), I'd appreciate the help. Thank you!
See if it works.
-
States to display a string indicator
Hello
I have the vi state machine and me had created an indicator to display the current state on the front panel to indicate the status of the machine. However, I don't want it can be activated when the user clicks on it. How do I do that? It also comes with a decorative frame that I do not want to display the image. How can I remove the frame?
I thought display just the State of a channel indicator that will fix the 2 questions, but I'm not able to simply connect to a string indicator. Is this possible? Appreciate the suggestions. Thank you.
If you use an Enum, you can use the Format String VI.
-
Change background string indicator when color in short
Hi, I know how I can change the background color for an indicator of string by using the Text.BGColor property.
My question is how can I change this only when the indicator is at the point, I mean when the cursor is in this area.
As soon as the cursor will move to another indicator of the chain, I would color to follow the cursor so to speak.
1 go to give this idea a Kudos: key Event discussion
2. you could do something like this in a loop
-
How to position programmatically multi line of text in a string indicator
Hi all
I have problems of command positions of multiline text programmatically in an indicator of the chain. The goal is to have X and coordinated is who will control the multiline text programmatically positioned in an indicator of the chain. So, for example if I have a line of text multi as shown below in the first box, I'd like to be able to control programmatically if I can get a comparable result shown in the second box below. Sorry that I used a simple rectangle box representative indicator of string, but I am currently not to work if I was unable to copy the actual string indicator, however I think you guys got the idea.
Thanks a lot for helping me.
All you need to do is insert (or remove) the spaces at the beginning of the lines.
Maybe you are looking for
-
Hello Over the few days, I have started working with the export of data in an excel file. I noticed that I needed to generate an object using the CreateObject command I found how to open an existing file Excel.Visible = True call Excel.Workbooks.Open
-
Computer Pavilion laptop 15-n208tx: recovery
I have not installed the external drive recovery partition, because my brother knew about it. Now how can install the external disk recovery partition.
-
Officejet 6310 printer will not print.
-
Transfer data to external hard drive from XP to Vista
How would I be able to transfer data from a XP hard drive (which is in an external case) on my new laptop with Windows Vista? Please let me know. Thank you very much. original title: I have a XP hard drive in an external case, and I would like to tra
-
I can't download anything online, my computer goes in crash mode! Help!
I need someone help please! I can't download anything online, whenever I do, the computer crashes and goes to black screen with error messages, then goes into a blue screen and restarts the computer. Help me please! I tried to download acrobat read