Need help on text
How come there are no words on the button.
like the first button is red but it blank.
2nd one is blue
3rd is green but nothing shows.
How do I fix this?
import javax.swing.* ;
import java.awt.* ;
import java.awt.event.* ;
public class PushButton
extends JComponent {
* The state of this PushButton.
private boolean state ;
* The text associated with this PushButton.
private String text ;
* Command string associated with this?
private String actionCommand ;
* The ActionListeners associated with this PushButton
protected ActionListener listeners ;
* Construct from text.
public PushButton(String txt) {
this.text = txt ;
this.state = false ;
this.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent e) {
if (state) state = false ;
else state = true ;
repaint() ;
/////////////////////// generate ActionEvent
if (listeners != null)
listeners.actionPerformed(
new ActionEvent(PushButton.this,
e.getID() ,
PushButton.this.getActionCommand())) ;
/*** Set the action command. */
public void setActionCommand(String ac) {
this.actionCommand = ac ;
/*** Get the action command. */
public String getActionCommand() {
return actionCommand ;
/*** Add an action listener to this PushButton. */
public void addActionListener(ActionListener l) {
listeners = AWTEventMulticaster.add(listeners,l) ;
/*** Remove an action listener from this PushButton. */
public void removeActionListener(ActionListener l) {
listeners = AWTEventMulticaster.remove(listeners,l) ;
/*** Return the text on this PushButton. */
public String getText() {
return this.text ;
/*** Set the text on this PushButton. */
public void setText(String txt) {
this.text = txt ;
* Inquire about the state of this PushButton.
public boolean getSelected() {
return this.state ;
* What dimension does the text have?
protected Dimension getTextBounds(Graphics g) {
g.setFont(this.getFont()) ;
FontMetrics fm = g.getFontMetrics(this.getFont()) ;
int w = fm.stringWidth(this.text),
h = fm.getHeight() ;
return new Dimension(w,h) ;
* Paint the PushButton, depending upon state.
public void paintComponent(Graphics g) {
if (!state) paintUp(g) ;
else paintDown(g) ;
public void paintUp(Graphics g) {
Dimension d = this.getSize() ;
int w = d.width - 1 ;
int h = d.height - 1 ;
g.setColor(Color.white) ;
g.drawLine(0,0,w-1,0) ;
g.drawLine(0,1,0,h-1) ;
g.setColor(Color.darkGray) ;
g.drawLine(1,h-1,w-1,h-1) ;
g.drawLine(w-1,1,w-1,h-2) ;
g.setColor(Color.black) ;
g.drawLine(1,h,w,h) ;
g.drawLine(w,1,w,h-1) ;
g.setColor(this.getForeground()) ;
g.dispose() ;
public void paintDown(Graphics g) {
Dimension d = this.getSize() ;
int w = d.width - 1 ;
int h = d.height - 1 ;
g.setColor(Color.black) ;
g.drawLine(0,0,0,h-1) ;
g.drawLine(1,0,w-1,0) ;
g.setColor(Color.darkGray) ;
g.drawLine(1,1,1,h-2) ;
g.drawLine(1,1,w-2,1) ;
g.setColor(Color.lightGray) ;
g.drawLine(2,h-1,2,h-1) ; // just one square
g.drawLine(w-1,1,w-1,1) ;
g.setColor(Color.white) ;
g.drawLine(0,h,w,h) ;
g.drawLine(w,0,w,h-1) ;
g.dispose() ;
* Test stub, from command line.
public static void main(String[] args) {
PBtest pbt = new PBtest() ;
pbt.setSize(300,375) ;
pbt.setLocation(500,500) ;
pbt.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE) ;
pbt.setVisible(true) ;
} // end of PushButton class
part II of the code
* Set up three PushButtons to control color of a panel.
class PBtest extends JFrame
implements ActionListener {
JPanel midpane ;
PushButton pb1, pb2, pb3 ;
public PBtest() {
super.setTitle("PushButton Test (R/G/B)") ;
midpane = new JPanel() ;
JToolBar toolbar = new JToolBar() ;
pb1 = new PushButton("Red") ;
///// REMOVE later
pb1.setPreferredSize(new Dimension(30,30)) ;
pb1.setActionCommand("red") ;
pb1.addActionListener(this) ;
pb1.setForeground(Color.blue) ;
pb1.setText("red");
pb2 = new PushButton("Green") ;
pb2.addActionListener(this) ;
pb2.setActionCommand("green") ;
pb2.setForeground(Color.green) ;
pb2.setText("green");
pb3 = new PushButton("Blue") ;
pb3.addActionListener(this) ;
pb2.setActionCommand("blue") ;
pb3.setBackground(Color.white) ;
pb3.setText("blue");
toolbar.add(pb1) ;
toolbar.add(new JToolBar.Separator()) ;
toolbar.add(pb2) ;
toolbar.add(new JToolBar.Separator()) ;
toolbar.add(pb3) ;
this.getContentPane().setLayout(new BorderLayout()) ;
this.getContentPane().add(toolbar, BorderLayout.NORTH) ;
this.getContentPane().add(midpane, BorderLayout.CENTER) ;
this.setVisible(true) ;
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE) ;
public void actionPerformed(ActionEvent a) {
int r = (pb1.getSelected() ? 255 : 0),
g = (pb2.getSelected() ? 255 : 0),
b = (pb3.getSelected() ? 255 : 0) ;
midpane.setBackground(new Color(r,g,b)) ;
midpane.repaint() ;
}
Similar Messages
-
Need Help regarding text Output
Dear gurus.
I need help regarding formatting of a text.
I want to format a employee sub group text.
im getting a text workers (7) from a table t503t having field ptext.
i want to show only (7) in the output not the whole text how can i do this ?
Please help
regards
Saad.NisarDATA: BEGIN OF itab_odoe OCCURS 0,
department_text LIKE t527x-orgtx,"Holds the short text for department
department_no LIKE pernr-orgeh,
pernr LIKE pernr-pernr,
ename LIKE pernr-ename,
grade like t503t-ptext, "THIS AREA GET ME TEXT OF EMPLOYEE SUBGROUP"
* department_text LIKE t527x-orgtx,"Holds the short text for department
current_year LIKE sy-datum,
wt0001 LIKE q0008-betrg,"Basic Pay
wt1101 LIKE q0008-betrg," COLA
wt3002 LIKE p0015-betrg,"Overtime
per_basic type p DECIMALS 2,"Overtime percentage on basic
per_basic_sum type p decimals 2,"Overtime Sum Division
overtime_sum LIKE p0015-betrg,"holds sum of overtime
basic_sum like q0008-betrg,"holds sum of basic
END OF itab_odoe.
Im using the select statement to get the employee subgroup from the table
select single ptext
from t503t
into itab_odoe-grade
where persk eq pernr-persk
AND SPRSL eq 'EN'.
now in itab_odoe-grade the values comes is Workers (7) , Snr Mgt (M3)
i want to show only the text in Brackets. -
Need help in text field with 2D array
text field with 2D array
Hi
I need help to represent (i) in from field and (j) in to field
I and j are 2D an array indices.
This code are not complated
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
//declaring class
public class test3 extends Applet implements ActionListener
{ //declaring the TextField
private TextField fromField ,toField;
//declaring an array
int weight[][];
int m = 99; // m is infinity
int N; // Set of Nodes
int d; // distance
int i; // source Node
int j; // destition Node
//declaring values of text field
private int from = i; // start Node
private int to = j; // end node
public void init()
setBackground(Color.white);
setForeground(Color.red);
//giving labels
Label TITLE2,TITLE1;
TITLE1 = new Label("from:");
add(TITLE1);
fromField = new TextField(5);
add(fromField);
// register listener using void add actionListener
fromField.addActionListener(this);
TITLE2 = new Label("to");
add(TITLE2);
toField = new TextField(5);
add(toField);
// register listener using void add actionListener
toField.addActionListener(this);
// event handler methods
public void actionPerformed(ActionEvent event) {
//declaring textfield
from=Integer.parseInt(fromField.getText());
to=Integer.parseInt(toField.getText());
weight =new int[7][7];
weight[1][1] = 0; weight[2][1]= 2;
weight[1][2]= 2; weight[2][2]= 0;
weight[1][3]= 5; weight[2][3]= 3;
weight[1][4]= 1; weight[2][4]= 2;
weight[1][5]= 99; weight[2][5]= 99;
weight[1][6]= 99; weight[2][6]= 99;
weight[3][1]= 5;
weight[3][2]= 3;
weight[3][3]= 0;
weight[3][4]= 3;
weight[3][5]= 1;
weight[3][6]= 5;
for (int i=1; i<7; ++i) {
for (int j=1; j<7; ++j)all your base are belong to us
-
HELP! Need help generating TEXT-ONLY portal page...
Text Only Portal Question:
PLATFORM:
=================================================================
Sun Solaris (5.2 if memory serves) for db and mid-tier, running
8.1.7 DB and 3.0.9 (1.0.2.2) portal.
THE NEED:
=================================================================
I need to display text only portal pages. Some of the more
detailed concerns at this point are below. Also, I've had an open
tar on Metalink for about two weeks, and after research from
their end has resulted in no help.
THE ISSUES (so far):
=================================================================
IMAGES:
If an anchor [A HREF=...] tag uses an image as it's "text", I
need to strip out the ALT= text to show inside the anchor. If no
ALT text is available, then I would like to show the image name
as a default.
For example:
<img src=home.gif
alt=Home>
should display as:
Home
FORMS:
How do I get the resulting page from a form (which include the
login inputs and submit button, search box, advanced search page,
etc.) to be displayed by the text only page?
For example:
When a form is called, the <FORM> elements are as follows:
METHOD=GET or POST
ACTION=url (relative or absolute) to the script.
In this case, the action value is:
ACTION=/servlet/page?
pageid=6&dad=portal30&_schema=PORTAL30.
This calls the advanced search API.
I would expect that to redirect the browser back to some
text-only version, the ACTION= element would have to be changed
to be something like:
ACTION=[pathscraper]?/servlet/page?
pageid=6&dad=portal30&_schema=PORTAL30
REDIRECTION:
What happens when portal pages redirect internally? How do you
get back to the text-only page?
For example:
The login link on the standard Oracle Portal home page flips
from url to url to get to the actual login page. Our
implementation of Oracle portal goes from
[DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
to [domain]/pls/portal30_sso/portal30_sso.login_page.
Since this is standard Oracle redirection, how can it be
intercepted so the portal30_sso.login_page can be presented as
text only?
TRIED SO FAR:
=================================================================
I've written a socket/text scraper in Perl, running it from a web
server. The problems mentioned above are really causing problems,
plus the whole cookie thing. Since Oracle Portal tries to push a
cookie to the client, when the client is another UNIX server,
the cookie thing doesn't work.
POSSIBLE OTHER SOLUTIONS:
=================================================================
Something...anything. I've tried to think of some method to
create some sort of PL/SQL procedure to catch the content then
strip out the HTML calls.
An Applet to do the same thing, but on the client side, but
since time is an issue, coding a complete Java applet isn't
really an option.
THE CONCLUSION:
=================================================================
HELP! I need some help. This is for a client that is government
funded, and to meet Section 508 (part of the Americans with
Disabilities Act that states web sites and applications must be
made accessible. A text-only page is one of the requirements for
an accessible page.
Thanks,
Ryan Stefani
ps: feel free to contact me via [email protected] or
[email protected]Use Find/Change and the GREP tab.
Search for .+ and set the Find formatting to find the charcteristics you want.
What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options... -
Need help with text() processing in XSL
Hello,
I have an xml that contains such text in my xml:
before<a>inside</a>after
and an xsl that transforms it to HTML (a cut for xsl):
<xsl:template match="a">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="text()">
<xsl:value-of disable-output-escaping="yes" select="."/>
</xsl:template>
The result is: inside before after
but I need: before inside after
It seems it happens 'cause of this: http://www.w3.org/TR/xslt#conflict
but I cannot find a way to solve this problem :(
I had tried to use priority in xsl:template, but it didn't help :(
Thanks a lot.DrClap
here are xml and xsl.
That's not a real xml and xsl, but they might describe the idea and problem. I hope I miss nothing.
P.S. I cannot control xml, that's why I cannot use: <xsl:text> in xml.
Thank you!
xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<title>Page title</title>
<page>
Location: <red>http://host</red>
</page>
</root>
xsl:
<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xml.apache.org/fop/extensions"
exclude-result-prefixes="fo">
<xsl:template match="root">
<html>
<head>
<title>
<xsl:apply-templates select="title"/>
</title>
</head>
<body>
<xsl:apply-templates select="page"/>
</body>
</html>
</xsl:template>
<xsl:template match="page">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="title">
[Test]: <xsl:apply-templates/>
</xsl:template>
<xsl:template match="red">
<xsl:element name="span"><xsl:attribute name="style">color:red</xsl:attribute><xsl:apply-templates/></xsl:element>
</xsl:template>
<xsl:template match="text()">
<xsl:value-of disable-output-escaping="yes" select="."/>
</xsl:template>
</xsl:stylesheet> -
I need some help with PE 12 and adding text...
this forum is for photoshop elements and photoshop elements doesn't support editing GIF.
You might want to post to photoshop community Photoshop General Discussion -
Need Help Printing Text Messages From E71
I need to print some saved text messages that are on my e71 but cannot ge **bleep** to hook up to my bluetooth printer it just never finds it. Is there another way to print these messages fromt he phone i really need them
connect to pc and use ovi suite
If i have helped at all a click on the white star below would be nice thanks.
Now using the Lumia 1520 -
Need help doing text search of Blob
I presently have a simple single table candidate tracking application that create records of candidate information and you attach their resume in a word format into a blob column named RESUME within the table.
I need to be able to do a full text boolean search of the attached documents, since we're going to use this to allow us to search an internal database for people with particular skill sets.
I'm not a DBA or a developer, I just started working with Oracle Application Express and need a simple way of creating this search feature.
I also need to add the search feature into a region for users to input search terms.
Any help would be greatly appreciated.
Edited by: user10608055 on Nov 25, 2008 11:57 AMtry
http://tahiti.oracle.com/
in the list of books, look at 'TEX' for Oracle text.
Interesting you should bring this up. I'm slighly involved with US Transition team.
Many resumes are coming in.
Tim -
Need Help removing text from an image.
I am using illustrator Cs3 version. I have an image of a sun with text in front of it, now I only need the image of the sun to then use in photoshop. How do I remove the text and still have a full-color image of the only the sun? Please Help! (Image below)
Hi,
You have posted your question in the Adobe Illustrator Draw iOS app forum. To get help for your question please post in the Adobe Illustrator desktop forum: https://forums.adobe.com/community/illustrator.
Regards,
Jose -
Using CS4 on Win7 Pro. My client bought a template that has a flash piece and I am a total novice in Flash but I do know that you edit the FLA file and export it as a movie. So I opened the FLA file and I'm able to edit the text (all that I want to do right now) but some of the text I'm replacing is longer than the original so it gets hidden under a replay button and some is shorter and is spaced too far away from the replay button (I also want to change the color of that and I think I can figure that one out). There is plenty of room to the left for the text to move to as the original file does have varying lengths of text and it does adjust for that but I can't figure out how to change it for what I've done (I haven't received the final text yet so this is a practice run)... I changed the text by going to the timeline and selecting text from the icon (Edit Symbols) in the upper right of the screen. But where do I tell it where the text should start or how wide it needs to be? I tried moving them individually in the timeline but that didn't change it.
Here's the file: http://do-rightweb.com/fertility/flash/header_vJT.fla (I only want to leave this up temporarily because it is huge. The test location of the file in action is here: http://do-rightweb.com/fertility/
In the future I may have to swap out some of the images leaving the transitions which I think I can do by adding them as a layer deleting the ones I'm replacing...
So if anyone can lend a hand in helping me figure out how to adjust the text width I would be totally jacked! Any help and advice about swapping images or changing colors would be greatly appreciated too. Or even a link to a video to help me understand how to reverse engineer this would be cool.
Thanks in advance for your help and assistance!Hi,
Since the text animation is done using the timeline in this file you have to manually edit the positioning of the each symbol element in every keyframe i.e
You have to go in to the editing mode for txt_c instance of txt_2 > Layer 8 where the required elements are placed
1. You have to position the Layer 1(under Layer 8) items at every key frame for the display text
you may have problem while positioning second text onwards as you will not be seeing them on stage. For this you may want to duplicate the symbol(txt_5) at key frame 37 and edit it to have only the second text and remove everything else. And you can swap the existing symbols at key frame 44 and key frame 54. You can repeat this for the rest of the text.
2. Next you have to position the numbers which spread across three layers (txt_3, txt_4 and Layer 6) under Layer 8. They are for prefix number, suffix number and the dot respectively
Thanks! -
Beginner - Need Help with Text
I can't seem to get text in a table cell to do what I want.
For instance, I can't use the 'tab' button as I would do in
Microsoft Word - is this something that is not possible in
Dreamweaver (8)? To compensate for that, I tried to just use the
space bar to seperate things but that doesn't work either - seems
like I can only insert one space and that's all. I've tried the
'align' buttons, but that moves ALL of the text rather than the
desired line.
EX) Currently: Name School Dates
EX) Desired: Name School Dates
Can somone please help me?Wow - okay. You're first mistake is thinking that Dreamweaver
will act as
Microsoft Word. Period.
That's never the case, nor will it ever be the case. You need
to close down
Dreamweaver, and start by reading some basic tutorials on
HTML and CSS. A
good place to start -
http://w3schools.com
Also, I'd reccomend picking up some books on the subjects as
well. For CSS
I'd reccomend anything by Eric Meyer. To answer your
question, though it
will seem useless as you probably aren't sure what to do with
the answer is
to give your paragraph tags a text-indent definition of a few
pixels inside
your CSS.
HTH, take care,
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Back for 2007, close-up magic:
http://deceptivemagic.com
Web dev articles, photography, and more:
http://sourtea.com
=============================================
Proud GAWDS member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"mpax91" <[email protected]> wrote in
message
news:eufcj9$lld$[email protected]..
>I can't seem to get text in a table cell to do what I
want. For instance,
>I
> can't use the 'tab' button as I would do in Microsoft
Word - is this
> something
> that is not possible in Dreamweaver (8)? To compensate
for that, I tried
> to
> just use the space bar to seperate things but that
doesn't work either -
> seems
> like I can only insert one space and that's all. I've
tried the 'align'
> buttons, but that moves ALL of the text rather than the
desired line.
>
> Can somone please help me?
> -
Need help removing text that is covering the document - Adobe Acrobat Standard X
I am trying to remove "preview only" that is splashed across our document diagonally. I can remove this on my computer which has Adobe Acrobat XI standard with content editing --> edit text and images (a cursor pops up and i can just use the delete button), but not on another computer with Adobe Acrobat X standard. The only thing we could do was add a red line over the "preview only" and delete that red line.
I did try to do my research, but all of the search ideas I was using didn't prove fruitful.
Any help or ideas you could provider, I would certainly appreciate.
Thank you in advance.Hey courtney evans,
Please let me know how have you sent the PDF file on other computer.
Also, are you viewing the file in a browser or downloading it and then opening in Acrobat.
Is the document scanned?
Please specify and let me know.
Regards,
Anubha -
Need Help Adding Text To A Template
I am using this template: http://www.templatemonster.com/flash-templates/21091.html
I would like to add text as it opens, going across the flag, something like this....
Sam Young. Not Uncle Sam, but here to serve you!
Now, obviously, that's not what I want it to say, but it's an example, of how I want it to move across the page, on the flag, before it opens to the first page. I've tried everything I know to do. I'm sure I'm just missing something silly. Can anyone help me?
Thanks!Wow... am I asking the impossible here? lol
I'm still looking for help with this, if anyone can help me.
I am searching for template help tutorials, and I don't know if I'm just calling it the wrong thing or what.
I want the text to scroll ACROSS the screen, on entry to the site, across one of the stripes on the flag. Every tutorial I have found tells you how to add scrolling text in the box, like paragraphs. I just want one line, a Welcome Message, if you will, that goes across the screen. I was able to do this in DHTML previously, but Flash is a whole new ball game for me.
Ok, I just did a search, and it's a MARQUEE that I want. So, I've searched, and found this: http://www.kirupa.com/forum/archive/index.php/t-3601.html
So, I'll try that and see if it does what I want it to do.
I'm including all of this, in the event that someone else is interested. -
Hi, need help, displaying text in crystal report
Post Author: decentsimple
CA Forum: Crystal Reports
CR8.5 help, displaying included or not included i
have a win app that calls the report, during rendering of report, the
win app will first create a temp table that holds all the fields for
the report, then the report is accessing that temptable. i want my report to display [not] included text for a field that contains the right value..here is the tricky part, the field is not in the temp table..is there a way for the crystal report to read the value of that certain field that is not in the temptable..so far.. i have a parameter 3 parameters, the value can be B/P/U ?B / ?P /?U each parameter have its own formula: @havefieldvalue if {?B} = "T" then "" else "Not" same for the rest..if the report generated have B then the report should display B - includedsame for the rest..you can always use an array if there's no pattern to your positions:
var positionA:Array=[ [100,20], [2,222], [55,2], [201,111], [78,23] ];
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import com.adobe.serialization.json.JSON;
var loader:URLLoader = new URLLoader(new URLRequest("https://api.twitter.com/1/statuses/user_timeline.json?screen_name=ScottMitchell"));
loader.addEventListener(Event.COMPLETE, loadComplete);
function loadComplete(e:Event):void {
processData(e.target.data);
function processData(data:String):void {
var tweets:Array = JSON.decode(data) as Array;
for(var i:int=0;i<5;i++){
var tf:TextField=new TextField();
addChild(tf);
tf.multiline=true;
tf.width=300;
tf.text = tweets[i].text;
tf.autoSize="left";
tf.x=positionA[i][0];
tf.y=positionA[i][1];
nextY+=tf.height; -
Need help formatting text field default value
Hello,
I've received a customer request to put default text into the Value section of a text field. They're requesting that the default text include line breaks, bullets, etc. I added a Text Field object and added the default text to the Object tab > Value tab Default field but can't figure out how to add line breaks, etc.
Thanks in advance,
SaskiaHi,
this is possible but not doable with the UI of Designer.
The workaround is as follows:
1. Create a text, enter your default text with all the formattings you need (text color, bold text, line breaks etc.)
2. Create a text field and enter any word as default value. Let's say "Default".
3. Select the text and the switch to the XML Source view.
There you will find all the formatted text between the <value> tags such as:
<value>
<exData contentType="text/html">
<body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p style="letter-spacing:0in">This is<span style="xfa-spacerun:yes"> </span></p><p style="color:#ff0000;letter-spacing:0in">default Text</p><p style="letter-spacing:0in"><span style="xfa-spacerun:yes"> </span>• with<span style="xfa-spacerun:yes"> </span><span style="font-weight:bold">RichText</span> formatting.</p></body>
</exData>
</value>
4. Select the whole code between the <value> tags and copy it to the clipboard (ctrl + c).
5. Go to the Design View, select the text field, go back to the XML Source view.
6. There you'll also find the value <tags> and your default value you entered before.
<value>
<text>Default</text>
</value>
7. Select this code section and paste the value copied before to the clipboard by pressing ctrl + v.
8. That's it. When you now go back to the Design View your text field shows a formatted RichText as defaul text. -
Need help regarding text field
Hi ,
I have a text field in my form which will contains a numeric value.Based on this value i have to show those many text fields to enter the name.
I have tried this code by keeping the texfield in a sub form and try to display subform using instance manager .see the below script.
Textfield.NewState.presence="visible";
var oSubform = xfa.resolveNode("form1.Page1.Textfield");
oSubform.instanceManager.setInstances(3);
form1.Page1.Textfield.instanceManager.addInstance();
but this code is not working.
Please help me!!
Thanks in advance
bharathi.you can't use the instanceManager for a TextField.. your oSubform should represents a Subform not a TextField
you can use instanceManager only for containers such as rows and subforms
Maybe you are looking for
-
How do I stop notifications to upgrade to Yosemite?
I'm on 10.6.8. I keep getting notifications to upgrade to Yosemite. I don't want to upgrade because I've heard Yosemite caused problems and lag issues to Logic Pro 9. I don't want to keep getting the notifications to upgrade. I've refused so many tim
-
Hi, We are using pvcs as our source control. Now as we started developing applications in jdeveloper, we are unable to make a decision as how to structure the file system in pvcs whether to follow J2EE structure(ear,war) or Jdeveloper structure (WS,
-
I'am looking for a way to randomly pick a record from an Access Database. I found this topic: http://forum.java.sun.com/thread.jspa?forumID=48&threadID=235843, but it isn't really what I am searching. The problem is that my primary key field isn't su
-
Since I upgraded to ios8 I can no longer close out of my initial website. There used to be an x to click on the top of page. Even if I close out the app the page remains next time I open Safari. Is there another way?
-
Why does some images on websites look like this
it has to some websites not all