Set the height of an object list field
Hi all
I would like to reduce the height of the ObjectListField so that it does not use the full height of the screen. This will allow a 'information panel' inside that is updated when the highlighted line is changed.
Anyone know the best way to do it?
Thank you
Glen M.
Thanks for the reply. I tried that but still was the question. I ended up placing the info panel in the status the display field.
Tags: BlackBerry Developers
Similar Questions
-
How to set the height width for an Image field in a web App?
I have a webApp to save the image of user with description, title. But when I display all items pictures are great, I want to know how to set the height and width for images?
Hello
To do this properly, you need to resize the image. Prefably before you put it in British Colombia. While you can to scale the image in CSS, you don't want to do. Why? Because the images are still very large and probably not optimized properly for the web.
This means that the page with these images will take a long time to load for people, and people will not be happy on the display of your site.
You must use a software such as photoshop, if you or iphoto on a mac for example for editing, crop and size of the images before uploading. If you do everything you can use free web based tools such as this one:
http://Pixlr.com/editor/You can also do in British Colombia itself in the file manager. If you click on the image you can see options to resize. The downside to this is's done it by pure mathematics. He doesn't know what is in the picture and the results can make the image etc. shrivelled.
-
How to set the values of dependent choice list fields
Jin
I create a drop-down list in my page.
This list of choices has values. (coming from the vo)
What value I chose from the drop-down list that display certain fields value.
for this I take the value of the drop-down list and set this values to these fields.
its working fine.
but my doubt is, at the time of the loading page, these fields (list selection dependent fiedls) defaulitly contains a value
(this is one of the value of the vo)
But I don't want to see any value at the time of the loading of the page
Here, contains values null or empty fields at the time of the loading of the page.Hello
Instead of linking these text fields display attributes... create transient attributes in VO and link these transitional
the attributes of these text fields.Now you load the page set the transient attribute ' ' using row.setAttribute("Attribute","");
In addition, as the Pickist value is changed, and then also, you can set the value as you wish...
This will allow to permanently solve the issue.
Thank you
Gerard -
How to set the height and width of the field control?
Hello
I created a ButtonField I need to set the height and the width of the field fixed. When the offset application from one device to another device about the size of the buttons vary and also content in the field of the key also retractable. I want to put fixed every time I moved my request to the other device, the display of the button must be set. How to reach this give me some code examples. I'm new to blackberry.
ButtonField subclass and override the method getPreferredWidth().
class FixedWidthButtonField extends ButtonField{ private int width; FixedWidthButtonField( String label, int Width){ super( label); width = Width; } public int getPreferredWidth(){ return width; } }
(code by Jonathan Fisher)
-
How to add a pop-up window to set the date and time in a field
How to add a pop-up window to set the date and time in a field? I know how to add the date. I create the field time with JavaScript event initialize like this:
this.rawValue = num2date(date(), DateFmt(4));
What I should change the script and the motive to do it properly.
I changed the Format of data (object > link tab) date time but nothing happen. I want to set up a pop-up window as for the setting of date but with addition of time setting.
Is this possible? Or that the date fixed like that? Should I get hour hand?
Hello
I don't think you will get both in the calendar popup. Basically, the popup calendar is the default behavior. It may be possible to develop a custom component, but it would take a bit of scripting and would probably not be worth the effort.
I'd get the user to time manually entry in a separate field.
Good luck
Niall
-
How to set the height and width of dvt:piechart?
Hello
After upgrading to 10.1.3 jdev the new PIE is < dvt:pieChart >.
I need to set the width and height or if not possible set the height and width of the container and let the repeating table using the container.
Thanks in advance
Emile BITAR
Change this by using the attribute "inlineStyle". Set inlineStyle = "width: 200px;" height: 300px; »
-
How to set the height of row?
How to set the height of row for my text in EA? I checked this article Edge animate help | Adding text to your project (tutorial) , but it refers to an old version of the environmental assessment.
Hey Bruce,.
You can set it in the user interface. Activate additional text settings in the property Panel by clicking on the arrow.
-
How to set the height of a region?
db11gxe, apex 4.0, firefox 24
Hi all
How to set the height of a region?
Thank you
Hello
I want to create you sample so I can't spend the time to do so-
Your link points to the generator APEX is useless without loging details in your workspace.
Theme 9 "simple gray" is available in apex.oracle.com, when you select themes inherited.
Try to add to the header of the region
And the foot of the region
Kind regards
Jari
-
How to set the height of cfinput text
How to set the height of a "text box" in ColdFusion? When I look at this in dreamweaver, the box is multiline, but when it appears in the browser, is only a single line.
< cfinput type = "text" name = "Comments" size = "40" height = "500" width = "150" >Hmmm... just changed to
and it works... didn't even worry Pass Through.
-
How I set the value of a dynamic text field row
I have a repeated line form that contains a button and several text fields. There is a text field (input field) above with some information I want to place in the table and several buttons that I want to read the value of and defined on the table. Excuse me there are several questions I have and I use pseudocode to describe.
Top shape resembles
InputField
| ButtonX1 | ButtonY1 | DescriptionX1 (read the text only field)
...
| ButtonXn | ButtonY1 | DescriptionXn
OutputRow looks like
| ButtonOutput | OutputField1 | OutputField2 | OutputField3 |
So, I want to do
ButtonX1.click
{
OutputTable.OutputRow.addInstance (true) //this works - everything I have questions on
OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue
/*
Question 1
How should I address the location of each table to set a value
Question 2
How can I get the value of the description field in the same row as button and table
I would like to say something to the effect of the OutputTable.OutputRow [?]. OutputField1.rawValue = this.parent.DescriptionX
*/
OutputTable.OutputRow.OutputField2 = InputField.rawValue
/*
Same question as above - how can I specify a dynamic line - it's the syntax appropriate for obtaining the value of the input field?
*/
OutputTable.OutputRow.OutputField3 is this. ButtonLabel
/*
Question 3
How can I get the value of the label of the button to set the field
There should be a lot of these buttons and buttons will be added - I'd rather set the value based on the label of the button to facilitate value - not requiring only not to change the code
*/
Issue 4--unrelated to those at the top.
Is it possible to build the first table
| ButtonX | ButtonY | Description |
from a XML file. I've seen examples showing how to build if it's just data, but XML can be pushed into a form with the code to perform the above actions?
Glad you figured it out... nothing wrong with doing it this way.
Normally XML contains data and no default legends these xml files are bouond to the rawValue property. You can enable the dynamic linking and other properties of the object will be bindable (they appear as links) in the user interface. If you click on the link to legend an Assistant appears allowing you to bind the node in the XML file.
Paul
-
How to set the width of a Select list in APEX 5.0?
Hello
I have been using APEX 4.2 for a couple of years now. I am currently building my first application in APEX (Oracle DB 11g XE) 5.0
On a page with multiple selection lists, I'm trying to set the width of each of them, so they are all the same size regardless of content.
APEX 4.2, I used to just add: style = "width: 200px ' to 'ownership of the attributes of element HTML Form.
How do I in the APEX 5.0? Property of the 'HTML Form Element attributes does not seem to exist anymore. Is there another way?
Nick
Hello
You can use custom attributes: CSS min-width and max-width properties
Concerning
J
-
How to set the height of a full video width
Hi people
I use a widget to run video full-width Muse the widget is:-MT - Toolbox - video backgrounds (11.2) .mulib
I would like to make a vertical scrolling page and have the video full-width at the top.
However I can't seem to adjust the height of the video, the video moves made the page I have the scrolling. I would like to stay at the top and does not scroll with the page.
Does anyone have any suggestions?
Is there a better widget for this?
Thank you very much
Ciao
Cathy
Hello
Please check the widgets in the list below
http://musewidgets.com/search?q=full+width
Concerning
Vivek -
Dynamically set the height of the rectangle
I need to define a rectangle of height according to the items it contains dynamically. I need the container to float its size accordingly.
For example:
'Apple' class needs an extra 10 pixels height
"Pear" class needs an extra height of 10 pixels
"Peach" class needs an extra 10 pixels height
So... i f I switch Apple, pear, fishing all on... I have to add 30 pixels to the height of the 'rectBasket'.
Goal: cart adjusts its height at each rocker. In the rocker by each fruit:
If (SYM $("..) (Is Apple") (": visible ")) {}
SYM $(".) Apple"). Hide();
var htApple = 0;
} else {}
SYM $(".) Apple"). Show();
var htApple = 10;
}
var htBasket = htApple + htPear + htPeach;
Is it important that PEAR and fishery variables have been set into a different scale?
sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("rectBasket").css ({"height": "htBasket"});
Place immediately after, shouldn't this resizing the basket?
No luck.
I'm a 'high functioning designer' with respect to the code. Can someone correct me with a simple and clear description or give a better method (direct, easy) to dynamically change the height of the "rectBasket"?
Thank you very much! Grace
I did it. I forced myself to understand the variables (you can hear me, designers).
Goal: float a rectangle size, whose elements are oriented, such as when items are turned on, the rectangle grows (if the elements do not overlap each other). An accordion of sorts. Each of the elements is relative to the upper or down, so when the rectangle increases, the elements are drawn out.
BTW, thanks to resdesign which is always useful to read. His other posts have helped tinkering me together an answer to my specific case. THX!
Step 1:
Declare the variable in compositionReady
Declare variables as elements call later
var AppleHigh;
var PearHigh;
var PeachHigh;
var ComboHigh;
Step 2:
In the code of the rocker of each element (switching power of the Apple, pear, fishing,..), declare the variables in the main code
var AppleHigh;
var PearHigh;
var PeachHigh;
var ComboHigh;
Step 3:
Below it, create a toggle of the value of the variable
for the class of Apple
If (SYM $("..) (Is Apple") (": visible ")) {}
var AppleHigh = 55;
} else {}
var AppleHigh = 0;
}
for the Pear class
If (SYM $("..) (Is pear") (": visible ")) {}
var PearHigh = 55;
} else {}
var PearHigh = 0;
}
for the Peach class
If (SYM $("..) (Is Peach') (": visible")) {}
var PeachHigh = 30;
} else {}
var PeachHigh = 0;
}
Step 4:
Below it, declare and set the variable that matches the new height
var comboHigh is 175 + AppleHigh + PearHigh + PeachHigh;.
Alert (comboHigh) / / / uncomment to test the value in the pop up window
NOTE: 175 is the height of the initial base rectangle
Update: I use it instead
Declared ' var boxStartSize; "in both: compositionReady and above the rocker in the code of the item
In the code of the item...
var boxStartSize = sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("CASE-master-box").height ();
Gets the entire value of the height
var comboHigh = boxStartSize + bottomlyHigh + pronounHigh + pseudosHigh + personalsHigh;
It is therefore only once that I copy this structure all over in different places, I didn't go back to handcode the height of the original rectangle.
Step 5:
The score allows you to change the height of the box
ENTER IN THE HEIGHT BOX.
sym.getComposition () .getStage ().getSymbol("GV-4Cases").$("CASE-master-box").css ({"height": comboHigh});
IMP: no quotes on the value of the variable.
Quotes on the value of the variable were a big obstacle for me. It took me a while to understand this detail. Ugh.
Step 6:
Create the same for each rocker of the element, then the height is re-evaluated whenever you change a toggle.
Step 7:
Assign/check the relative angle.
Check on what corner your items received! Select the item, look for the 4 tiny squares next to Global applied icon in the properties panel. Choose a corner. Where the element is fixed in relation to a parent.
Make sure that the element has a parent via dragging on a div or in a rectangle structure structure.
Example could look like this:
RectangleMaster
> RectangleApple
> Apple.svg
> RectangleFruitChoice
> RectanglePear
> Pear.svg
> RectanglePeach
> Peach.svg
Here, in this example, RectangleMaster is the parent of RectangleApple and RectangleFruitChoice. This means that I did slide the rectangles on another rectangle to build the structure. Select the element and choose a corner of the icon of small places accordingly.
Similarly, RectangleFruitChoice is the parent of RectanglePear and RectanglePeach.
In this way, you can build a complex and dynamic structure.
Best of luck to you all, code-ambitious designers out there! /GB
-
HOW to: set the anchoredObjectSettings for. palce() object?
Hi, I am currently working on the interesting script for GREP placing, and I wonder how I can configure for object anchoredObjectSettings. palce()?
for(i=0; i < found.length; i++) { foundElem = new File (myFolder + "/" + found[i].contents); found[i].place(foundElem); // Placing Ancored Object // HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object //anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE; //anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN; }
Here you can download the example files - script, the InDesign file and images, which must be placed in the InDesign file with script
PS: I think that this script will be very useful, so if someone have any ideas/suggestions, and want to help with the continued development - that would be great!
Hello
Right, it was too fast...
This line returns an array of placed graphics - and we have set the property to its container in fact.
so make it
//....... mPlacedObj = found[i].place(foundElem)[0].parent; //.......
Jarek
-
How a loaded swf sets the height and width of the scene?
I have a parent swf that loads another swf (this is for a customer). Dimensions of the stage of the parent swf don't match the child. How the adjustable child the dimensions of the stage?
I tried this after the child was loaded, but it does not work:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.stageWidth = 700;
stageHeight = 600;
Thank you!
Flash can not set the size degree. You must call JavaScript to change the size of the object Flash via ExternalInterface.
--
Kenneth Kawamoto
Maybe you are looking for
-
Equium L40 - Vista won't start after installation of product recovery
Hello I had to realize a product uses recovery provided restore disk on an Equium L40 computer laptop (PLS41). The recovery procedure done his job to the end, reformats and copy all the files and then restarts. Now the problem starts...The pc gets in
-
Strange problem with Power Saver on my Satellite M30
My laptop connected via the mains supply, is quite well. However, when it is not connected (i.e. use it on battery), it shows 100% battery up to 90%, when I get an error window Windows "Toshiba Power Saver must be closed, you want to send an etc erro
-
I have the disc for xp that I bought. It has been installed on this computer before. I had to restore the computer and now I can't reinstall xp from the disk.
-
How to know the version of windows without starting windows?
Hello. There is no way to discover the version of windows 7 (home, home premium, professional...) on a computer where windows does not start? (it does not start in normal mode or safe mode). I can start the computer with linux and browse the folders.
-
When I start these games he says there are not compatible with the computer. Probably because it's Windows 7. The back of the games say it is compatible with Windows 95,98, Me, XP... But nowhere Win 7, probably because it did not exist at the time. I