How do I display graphics in a List?
Hello. The documentation for the List component at
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/2/help.html?content=00002 548.html states "A list can also display graphics, including other components," but nowhere can I find an example of HOW to make this happen. Can anyone please point me to a working example, I really need to be able to leverage this functionality, but I cannot for the life of me find anywhere it's being done.
Thanks in advance for your help.
kglad and Petro, thank you both so much! This is exactly the type of information I was seeking, this will help immensely.
If anyone with access to the AS2 documentation happens to read this, might I suggest adding a reference to the CellRenderer API in the List documentation? A parenthetical notation immediately after mentioning the ability to display graphics or components would be ideal, and would point users to the correct location.
Thanks again!
Similar Messages
-
How to install display language if not listed i have an htc 8x
hello i frem greece and i just bought an htc 8x.I want to add greek as a display language because it is not listed does anybody know how?step by step please because i am new here!
Hi this forum it to share samples that you have created with other developers. You have an OS question. You can get those answers from
http://answers.microsoft.com
Jeff Sanders (MSFT)
@jsandersrocks - Windows Store Developer Solutions
@WSDevSol
Getting Started With Windows Azure Mobile Services development?
Click here
Getting Started With Windows Phone or Store app development?
Click here
My Team Blog: Windows Store & Phone Developer Solutions
My Blog: Http Client Protocol Issues (and other fun stuff I support) -
How Can i display a checkbox with list of items
Hi All,
How can i include a check box beside the list of items in a combo box/list box
Here is the requirement which i need to display
i need to do above requirement. i have to display the check boxes beside the each item.
i can show the list of items but unable to show the check boxes.
Can any one help me regarding this.
Thanks in advance
RaghuHope this can help u
<mx:ComboBox id="cmbtheme" labelField="id" width="30" dropdownWidth="100">
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalGap="0">
<mx:CheckBox id="{data.Nid}" label="{data.label}"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:ComboBox>
Regards,
Kapil Arora -
How to display graphics larger than canvas size?
How do I display graphics larger than canvas size in Java AWT?
I tried setting the canvas size() to a value larger than my monitor size, and then adding scroll bars to the canvas, but the scroll bars and the canvas won't go beyond the monitor size in pixels, which is only 800, so the large graphic I try to display gets cut off at the bottom.
How can I overcome this problem? Has anybody encounter a similar dilemma before?import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
public class AWTSizing
public static void main(String[] args)
LargeCanvas canvas = new LargeCanvas();
ScrollPane scrollPane = new ScrollPane();
scrollPane.add(canvas);
Frame f = new Frame();
f.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
f.add(scrollPane);
f.setSize(400,400);
f.setLocation(200,200);
f.setVisible(true);
class LargeCanvas extends Canvas
int w, h;
final int PAD = 10;
Rectangle r1, r2, r3;
Rectangle[] rects;
boolean firstTime;
public LargeCanvas()
w = 360;
h = 360;
firstTime = true;
public void paint(Graphics g)
super.paint(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
if(firstTime)
initShapes();
g2.setPaint(Color.red);
g2.draw(r1);
g2.draw(r2);
g2.draw(r3);
private void initShapes()
r1 = new Rectangle(w/4, h/4, w/2, h*3/4);
r2 = new Rectangle(w/2, h/2, w/2, h/2);
r3 = new Rectangle(w*5/8, h/6, w*3/5, h*2/3);
rects = new Rectangle[] { r1, r2, r3 };
firstTime = false;
invalidate();
getScrollPane().validate();
private ScrollPane getScrollPane()
ScrollPane scrollPane = null;
Component c = this;
while((c = c.getParent()) != null)
if(c instanceof ScrollPane)
scrollPane = (ScrollPane)c;
break;
return scrollPane;
public Dimension getPreferredSize()
Dimension d = new Dimension(w, h);
if(rects == null) // before calling initShapes
return d;
Rectangle r;
for(int j = 0; j < rects.length; j++)
r = rects[j];
if(r.x + r.width + PAD > w)
d.width += r.x + r.width + PAD - w;
if(r.y + r.height + PAD > h)
d.height += r.y + r.height + PAD - h;
return d;
} -
How can i display a list of all the names stored in the Mail app?
When sending an email, the program shows a list of names according to the first and subsequent letters that I type into the To: field. There are times I cannot recall someone's email user name. How can I display a complete list of all the names Mail has stored? I know that I can go to the To: field then type in the letter A, then write down all listings under A, and then repeat for each letter of the alphabet, but there should be an easier method.
I have perhaps dozens of names in Mail, but only five names in Address Book, so the latter does me no good.On the menubar, Mail > Window > Previous Recipients
Regards,
Captfred -
How can I display all content (graphics)
On Skynet (United airlines employee website), when I try to look at the "seat selection" window, it displayes only numbers, it does not display a graphic of the cabin (seats). How can I display all content?
You can see that it is a font issue by the appearance of the little boxes with the hex code of the characters that Firefox displays when there is no font that covers this Unicode range. You might see a different character in case you would have a font that maps this font.
-
How can we display the list of Report Names in Dashboard Prompt?
How can we display the list of Report Names in Dashboard Prompt?
Hi,
No its not possible to display list of reports in dashboard prompts.
Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
Assign points and close your threads if answered.
Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
Regards,
Srikanth -
How do I get the reminders, in list view, to display in date order?
How do I get the reminders, in list view, to display in date order? I can't seem to get them to display in date order on either my ipad or iphone.
Yes i know I can look at date view, but i don't like that view. I excepted the list view to display all reminders in date order.
Thanks!You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
Here's an example:
StringWriter sw = new java.io.StringWriter();
PrintWriter pw = new java.io.PrintWriter(sw);
e.printStackTrace(pw);
String strError = sw.toString();
I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
Hope that helps.
Michael -
How write a field to screen(report list) but don't display it ?
Hi, All
How write a value to screen(report list) but don't display it ? Because i will use this value as the user click the current line ,but i don't want to expose this value to the user.Hi,
U can Use the option NO-DISPLAY with PARAMETERS.
Can write in the Selection screen statement with the syntax as
Paramaters: <fieldname> type <data type>
value <value> no-display.
-Rakesh -
How we can display two list if not using blocked alv ,not scr painter
how we can display two list if not using blocked alv ,not scr painter
1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
1. Yes. without a sim it has no service, but all other features should be useable normally.
1.a Nope, Data and Apps are independent of the Sim.
2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
3. If they can be run on the iPhone3GS they should be synced automatically.
4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos.
4. If all 3 Devices share the same Apple ID all should be synced.
As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together. -
How to display a drop down list
how to display a drop down list when the user clicked (right click) on a JPanel or a JFrame
how to display a drop down list when the user clicked
(right click) on a JPanel or a JFrameI've not done it my self, I just looked it up:
JComponent.setComponentPopupMenu(JPopupMenu popup).
The menu doesn't showed automatically when I added it to a JComponent and tried to right click.
I guess you could add a listener and call setVisible and setLocation for the menu in the listener, but there has to be an easier way... -
How to display grid lines in list view please help
Hello,
What should I do if I would like do display grid lines in list view. I've read related topics but I stil don't know how to do it. I use Sharepoint Designer. Please help
RegardsHi,
You need to modify default XSLT of listview webpart. Open your page in designer and use below jquery.
<!–ADJUST TABLE COLUMN WIDTH–>
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js“></script>
<script>
$(function(){
$(“tr.ms-viewheadertr th:contains(‘Title’)”, “#MSO_ContentTable”).css(“width”, “50px”);
$(“tr.ms-viewheadertr th:contains(‘Assigned To’)”, “#MSO_ContentTable”).css(“width”, “300px”);
</script>
Check this for more info about steps:
http://jshidell.com/2010/09/19/adjusting-sharepoint-list-columns-using-jquery/
You can also look into this MSDN article for more customization:
http://msdn.microsoft.com/en-us/library/ff630941.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListViewWebPart.
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see" -
How can I display the holiday list in the portal
System
ECC 6.0
EP 7.0
ESS/MSS 1.0
how can I display the holiday list in the portal.
There will be a holiday list created by the ABAP-er in ECC, how can I include it in the portal?Hi,
Create a WebDynpro Iview to create a simple application that pulls information from the RFM(that you has ABAPer created).
Start from <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#backend">Here</a>
(Or)
To get an idea, download the world time BP from below link. It has calender with holidays displayed.
http://www.sweetlets.com/world_times_preview.html
Regards,
N. -
ALV GRID - How to activate the option "Display graphic" ?
Hello,
I'm using
CREATE OBJECT r_container
EXPORTING
container_name = 'CONTAINER'.
CREATE OBJECT r_grid
EXPORTING
i_parent = r_container
Create Event Receiver
CREATE OBJECT cl_event_receiver.
Populate Field Catalog
PERFORM get_fieldcatalog.
r_grid->set_table_for_first_display(
CHANGING
it_outtab = it_table
it_fieldcatalog = it_fieldcat[] ).
and, as you can see I'm display it_table specifing the field of the table (I'm not usinf dictionnary reference ).
My problem is:
all run perfectly except the button "Display graphic" ( the graphic is showed but is empty).
How to solve it ?
tks.Hi,
It will help if u can elaborate on your actual problem.
Display graphic button?
Where do you want to display the graphic?
And what graphic? -
HT201104 My iCloud Drive displays my files as icons. How do I get them into a list ?
My iCloud Drive displays my files as icons. How do I get them into a list ?
With iCloud Drive open in Finder, View menu "as List" should work.
Maybe you are looking for
-
Voice memo missing on iphone 4s after upgrade to ios 7
voice memo app is missing on my iphone 4s after upgrading to ios 7. any ideas?
-
ITunes won't open in Windows 8.1 (64-bit)
New computer, installed itunes, and I think it might have opened once, but now it doesn't open at all, although it shows up in the task manager (as 32-bit, btw). * Tried uninstalling/reinstalling * Tried installing in compatibility mode and as admini
-
Noise Ninja for Aperture has been released
from the picture code site ... +PictureCode today released a plug-in version of Noise Ninja for Apple's Aperture photo editing and management software. The plug-in allows Aperture users to employ best-of-breed noise reduction without leaving the Aper
-
Find/Change search options vanish
I'm using ID CC 2014 in Windows 7. I have had this same problem since CS4 and it is driving me crazy. At various times, I'll open the Find/Change dialog, and will see that not all of the search choices are there. All Documents and Documents are alway
-
My iPhone keeps entering DFU mode on its own, what to do?
Every time it does that i have to reset it. What should i do?