list with separators as options
Hello
I really need help to draw a separator between list items and add the icon at the beginning.
IM desperate please help
Thank you
According to your requirement.
1. download the zip file of AdvancdUI at the bottom of the link and check out it.
Advanced user interface of GITHUB components
and take only ListStyleButtonField.java file and add to your application.
and
Consider this example code: SanpleScreen.java
public class SampleScreen extends MainScreen implements FieldChangeListener { ListStyleButtonField listStyleButtonField[]; Bitmap bitmap=Bitmap.getBitmapResource("icon.png"); int size=0; public SampleScreen() { size=10; createGUI(); } private void createGUI() { VerticalFieldManager vertical=new VerticalFieldManager(VERTICAL_SCROLL| VERTICAL_SCROLLBAR); listStyleButtonField=new ListStyleButtonField[size]; for(int i=0;iWhen I run the present, I got like this:
Try running this example;
=====================================================================
Do not hesitate to click LIKE button if the solution is permits.
Tags: BlackBerry Developers
Similar Questions
Creating a smart list with "remarks".
Hello everyone, I want to create a smart list with titles that have added only remarks. Howevre there is no option as "remarks" are "true." Anyone with any suggestions?
Thank you!
All of the rules:
Remarks is not < empty >
Playlist is music
TT2
Populating drop-down list with SQL
I have a database and I want to fill the drop-down list with a 'Group By' request to show the various categories without showing many of the same. Here's the code I'm having difficult with:
DropDown { id: filterSelect visible: true enabled: {if (purchaseValue != false){false}} bottomPadding: 20 title: qsTr("Category:") + Retranslate.onLanguageChanged horizontalAlignment: HorizontalAlignment.Center options: Option { id: allOption text: qsTr("All") + Retranslate.onLanguageChanged selected: true } onSelectedOptionChanged: { if(filterSelect.selectedOption == allOption){ _app.refreshObjects() } else{ dataSource.query = "select * from items where categoryfield LIKE '%"+ filterSelect.selectedOption.text+"%'"} } attachedObjects: [ ComponentDefinition { id: optionFactory Option { } } ] onCreationCompleted: { // "select categoryfield from items group by categoryfield" var newOption = optionFactory.createObject() newOption.text = 'Text to add' // or a variable fetched from data source //newOption.otherfields = ... filterSelect.add(newOption); } }I have a data source that fills the listview, I want to use the same database to populate the drop-down list. How should I go about this? I tried to configure a different DataSource {} just for the dropdown menu, but I couldn't make it work. In bold text, I am not clear as where I incorporate my SQL query against the newOption.text =
TL; DR I try to use a SQL query to fill my menu drop-down using the same PB that is used for the listview.
Any help will be appreciated and thanked!
A friend by the name of Roger Leblanc http://appworld.blackberry.com/webstore/vendor/70290/?lang=en&countrycode=CA helped me and created a small code example to explain how it works.
import bb.cascades 1.2 import bb.data 1.0 Page { Container { DropDown { id: dropdown } ListView { id: myListView dataModel: dataModel listItemComponents: [ ListItemComponent { type: "item" StandardListItem { title: ListItemData.categoryfield } } // end of ListItemComponent ] } // end of ListView } attachedObjects: [ GroupDataModel { id: dataModel }, DataSource { id: dataSource // Load the data from an SQL database, based on a specific query source: "asset:///pinguin.db" query: "select categoryfield from items group by categoryfield" onDataLoaded: { // After the data is loaded, insert it into the data model // This will populate the ListView. You don't want to show // categoryfield in ListView, I just wanted to show the difference // between populating a ListView and a DropDown dataModel.insertList(data); // Now, this will populate the DropDown by iterating through every // data from the query and adding it one by one to the DropDown // using the optionFactory Component Definition to add dynamically // new Options to the DropDown for (var i = 0; i < data.length; ++i) { // Create new Option var newOption = optionFactory.createObject() // Set the Option text to categoryfield newOption.text = data[i].categoryfield // Add the Option to DropDown dropdown.add(newOption); } } }, ComponentDefinition { id: optionFactory Option {} } // end of DataSource ] onCreationCompleted: { // After the root Page is created, direct the data source to start // loading data dataSource.load(); } }After the failure of left installation with two boot options
After a failed installation, I find myself with two boot options when starting Windows install & windows 8 How can I clear down the unwanted version.
Windows 8 is in place and works ok.
Just at the start, you get a request as to which version you want to start...Option 1:
Press the Windows key + X
Click System
Click on advanced system settings
On the Advanced tab > Start up and recovery, click settings
Under system startup, click on in the default operating system: list box
Select Windows 8
Uncheck the box "time to display list of operating systems".
or
Press Windows key + R
Type: MSCONFIG
Click on the Startup tab
Remove the unwanted entry.
or
Use EasyBCD:
EasyBCD by NeoSmart Technologies would be your answer, it provides a graphical front-end to the BCDEdit Command line that makes it easy for you to set the boot settings and change the entries start on the new Windows Boot Manager. http://NeoSmart.NET/DL.php?id=1
Hello everyone. I recently installed a Samsung SSD (hard solid state drive) in my destop PC. For some reason any Lightroom do not see? So I can't ingest pictures of her, or copy photos from a card itself. It is not listed as a player option. LR sees any other drive. My computer he sees very well, so I was able to create a catalog it. IM using windows 8.1. Any ideas? I would also add that this drive has become corrupted and was repaired by Samsung. Maybe they did do a very good job......
Did receive the disk with the letter of A: or B: drive? See below, which deals with the question:
How to make a list with the DB control
Hello
I need fill a listbox using the dbcontrol, I saw how to define a textBox control with a recordset from the database by making a custom_query and call it through java script, example:
infra_custom. SQL:
Get Prueba_Nak
DESCRIPCIÓN SELECT THE
OF DB_PRUEBA
WHERE CALL_NUMBER =: nCALL_NUMBERCustom_inCallDetails.js:
function pruebaQueryMuestra() {}
var db = document.all.DB;
DB. ClearParam();
DB. AddParam ("CALL_NUMBER", document.all.CALL_NUMBER.value);
var RS = db. GetRecordSet ("Get Prueba_Nak");
document.all.EXTFLDV_500004.value = RS("DELESDE").value;
document.all.MI_POLLA.value = "HELLO";
}function customLoad() {}
pruebaQueryMuestra();
}Well, this work well for complete results, but, if I need more lines for painting, a list, how can I make a loop in a recordset with only one result?
Kind regards
The first thing I would say is that you just use the SU_SELECT_VALUES table & fill if possible through Designer.
If you don't want really dynamically change the menu drop down content based on the number of appeal then you could populate the drop-down list dynamically using JavaScript.
something like...
fill in the parameters...
var r = da. DB. GetRecordset...
If (! r.BOF) r.MoveFirst;If (r.Fields.Count > 2)do something here. There are not enough columns in the query results to populate a drop-down list with a ref and name.on the other{FAL EXTFLDV_500004.options. Length = 0;While (! r.EOF){Like var = document.createElement ("OPTION");oOption.value = r("REF").value;oOption.text = r("NAME").value;FAL EXTFLDV_500004.options. Add (option);r.MoveNext;}}Play with vmkiscsi-tool options-A m
Hello
Is anyway n configuring chap (user name and password) using the line comand with vmkiscsi-tool?
I've been playing this comand unsuccessfully
Any help would be greatly appreciated.
Saludos,
Jose Maria Gonzalez,
-
http://www.JmGVirtualConsulting.com
http://www.josemariagonzalez.es
VMware vExpert 2009
-
If you find this or any other answer useful please consider giving points by checking the answer useful or appropriate.
[http://www.josemariagonzalez.es: http://feedproxy.google.com/ElBlogDeVirtualizacionEnEspanol]
I think you might be the bad parameter for iSCSIID, take a look at the comment left on this blog post by Scott Lowe: http://blog.scottlowe.org/2007/06/29/esx-iscsi-basic-configuration-from-the-cli/
It seems that you must pass in the vmhba, new since vmware-vim-cmd is not supported by VMware, it's not very well documented and unfortunately I haven't played with this specific option myself, but it looks like it was possible.
Also in looking at vmkiscsi-tool, have you taken a glance at the subcomands:
Subcommands -l --list -r --remove -a --add -m --authMethod : specify method for add/remove -b --mutual CHAP -j --persist changes -y --dynamic discovery CHAP -x --static discovery CHAP -f --flag: set a discovery or authentication flag adapterNameLooks like param m would allow you to activate the CHAP protocol, and I guess that's the argument... I only raise this question because the vCLI esxcfg-iscsi has similar params and I guess it should be similar to the version of the SC but do not know if this applies only to software iSCSI vs.
=========================================================================
William Lam
VMware vExpert 2009
Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
VMware Code Central - Scripts/code samples for developers and administrators
If you find this information useful, please give points to "correct" or "useful".
When selecting a "select list with redirect', all variables are losing value
I have a form where a field (: P38_CUSTOMER_ID) receives its value from the parent report and it appears as: "display text (saves the State)).".
I have 2 fields from selection list. The first (: P38_COUNTRY) is shown in the form "select list with redirect.
As soon as I select the value (name of the country) in this list box, I lose the value: P38_CUSTOMER_ID.
An idea on what I need to do to ' P38_CUSTOMER_ID to avoid losing its value?
Thanks in advance.You are welcome. There are many options to choose from ;-)
Be sure to note the answers as people only get points if you do.
Thank you
DimitriMultiSelect list - title for each option set
I have a multiple selection list item in a region. I fill the list with a query in the section list of values of the multiple selection. for example:
Select text, id
of the double
Looking at the source of the page for this page I see that apex makes the similar multiple selection option:
< option value = "1233" > text < / option >
I need the option present with a title that is the same as the text:
< option value = "1233" title = "text" > text < / option >
Anyone have any ideas?
Thank you
Jon
http://jfortney.blogspot.comJon,
I'm not sure you could reach this server-side. However, it should be pretty easy to do it on the loading of the page with jQuery.
Kind regards
Danhttp://danielmcghan.us
http://sourceforge.NET/projects/tapigen
http://sourceforge.NET/projects/plrecurYou can reward this answer by marking as being useful or correct ;-)
help with the new option of memories
Sorry for my English
Please help me with the new option of memories
no memories option appears me
I have an iphone with IOS 10.02 5
Hello
Try this support article > enjoy your memories in pictures - Apple Support
Satellite A500 when I turn on a box with performance - file options
Hello
I hope someone can help me.
When I turn on my new A500 a box appears with the performance options.
All you can do is go and try to change the virtual memory is and I tried to check all the options and apply.-automatically manage the pagefile.
-managed system folder.
-Custom - size here I didn't know what size to put in?But all I'm trying to define and go ok and apply and then says that you have to restart to save the changes you made then I do that and the box is back and he's back on the setting of
No swap file?Can anyone help me with which is why it's coming when I switch on my computer and how to define and do stay like this.
Thanks in advance...
Sue
Hello
You have a very strange problem
My Windows operating system that is never asked to change the swap file, even if the RAM was not upgraded to 2 GB of RAM.Microsoft says that the default paging file size is equal to 1.5 times the total RAM.
So if you have 4 GB of RAM and the paging file is set to 6GB.
Usually, this should be good enough.Also here is an MS article on this paging file:
http://support.Microsoft.com/kb/314482Read it s useful.
PS: Check the msconfig. Startup tab check if there are some processes that arise from such a message.
Table: "move with the text -" option restores the "stay on the page.
I'm under Pages 5.6.1 on MacBook Pro (15-inch, mid-2015, retina, 10.11.3).) 2.8 i7 1 TB flash, 16 GB 1600 MHz DDR3, GHz Intel Core.
The question that I will have (and frankly, have frequently), it is that when I have a table or an image embedded in a Pages document, I have problems affecting this table or an image to "move with the text" Format--> arranges--> object--> move with text placement, inevitably the option 'dressing' going on to "in line with text." But I don't want "inline with the text" option is selected, I want the text to wrap around the image. After scouring the other threads, I found the idea that it has to do with the provision of two-sided objects, and that the image or table should be sent to the front to make it possible. However, these options are completely grayed out during this effort together.
Anything you can do to help would be appreciated, Internet.
The Baron
I'm under v5.6.1 Pages on 10.11.3. Table and image in the screenshot below have wrapping of text around the value and purpose of investment for both is stay on the Page. Get a text wrapping. Is this your goal of flow?
On my Mac Book Pro to always stop get question "continue application"? with the boxes option to cancel or continue the request.
Selection of abandonment does not prevent the following message appears when closing next down.
Activity monitor shows all the applications that you have
installed, running in the background? Something can be...
If you open the force quit, are there topics other than the Finder
and maybe a browser?
You repaired the disk from disk utility permissions lately?
We could also see other boot options on the use in
Recovery of OS X to use the "OS X Utilities" in there. Be careful.
Is there more than one user account on your computer? If you
Start in another user account and have auto login for
the fact that it is one that rises at the start, a piece
similar issues or is it just works fine on shut down?
The question may take some trial and error troubleshooting. This
may include some basic startup keyboard shortcuts for
the computer to start in Safe Mode, to do more test, etc.
If you have access to an official Apple store, you can be
able to set up an engineering appointment & have someone closer.
Good luck anyway...
RunAs with the /savecred option does not accept the credentials stored by the cmdkey command
Hello
I am trying to automate the storage of credentials for profiles of several people on several servers so that they can use it with scripts, they will use that have the command 'runas' with the /savecred option. I use the command "cmdkey" to store the user and the password, but when the runas command is run, it prompts for the password anyway. I know that the /savecred works since if I leave the command-line runas for the password and I enter, on subsequent runs, he is more requested for the password. Curiously, if I use the cmdkey command to replace the stored credentials, runas invite you again the password so it can store it himself. Almost as runas does not 'trust' cmdkey. Any thoughts on why this can happen and how can I get around it? I really need to automate the identification information storing or it will take a couple hundred manual executions of the runas command to get this store on the profiles of all the people in need.
Hello
The question you have posted is related to professional level support. Please visit the below mentioned link to find a community that will support what ask you:
original title: change of e-mail
How to convert Outlook Express to Outlook without losing files or existing e-mails and taking my contact list with me?
Hi KennethPickering,
You can refer the following Microsoft Knowledge Base article and check.
How upgrade from Outlook Express to Outlook
http://support.Microsoft.com/kb/287073
Let us know if it helps.
Maybe you are looking for
-
Anker TC930 keyboard has worked with 9.3.5, will pair with any iOS10
My keyboard Bluetooth TC930 Anker worked flawlessly with iOS 9.3.5. Of course, once I have upgraded to iOS 10, the keyboard will pair is no longer. Just keep the wheel turn and finally, I get the message "unable to connect". I tried the step to reset
-
Upgrade to OS 10.8 10.7.5
For a mac mini with SN: VM817ESXYL4 I 10.7.5 BONE and try to install the mountain lion, but I can't. What could be wrong?
-
"Insufficient minimum virtual memory.
I received a message 'not enough minimum virtual memory. My C drive 20315 MB of available space and the Initial value of 384-768 Max. My G drive 60116 MB of available space and nothing put on, should I put something on the G drive or just the C drive
-
Transfer of the alien-ware x 51 R1
Well my warranty ended a few months ago, and I wonder what could my alienware x 51 R1 components fit in, such as the motherboard, I need more power, but the case for the x 51 r1 doesn't have enough room for an internal engine.
-
my laptop turns on and immediately goes to a black screen with a request for password
my laptop turns on and immediately goes to a black screen with a blue pop up asking you for a password. Getting started doesn't let me go to F2 or F11 or F12. THE SCREEN STOPS JUST AFTER 3 ATTEMPTS. Help! I don't know who installed it but I can't use