Plz cooperate
dear all, i am novoice to JAVA and JAVA programming....
Day after tomorrow, I will start learning JAVA and JAVA Scripting Using Visual JAVA. Before, I start, i want to have a sample code, if any provide me with a code for the following question; i will keep it in my dairy and i will write with his /her screen name and email address as his/her gift for me.
My question is:
If i give 10 people names and their marks using JAVA in Visual Java, then when i give a input of name it provide me with the marks and if i type the marks it provide me with the names who scored that marks
i will be waiting for your kind reply
with best regards,
Rashid
Day after tomorrow, I will start learning JAVA and
JAVA Scripting Using Visual JAVA.JavaScript is a completely separate language from Java, don't confound the two.
And starting to learn java using an specific IDE, especially one that looks like it's kean on generating alledgedly WYSIWYG forms is a bad idea too. Your first java programs should be written using a simple text editor and the command line compiler and JVM.
Start, as tradition demands, with a program that prints "Hello World". Type it in to notepad or whatever, complie it with javac and run it with Java.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello world!");
}Don't use an IDE until you've learned how to do without.
Don't build a form with a fancy form designer until you've programmed one without.
Similar Messages
-
I found My iPhone contacts on my friends Iphone we both have 4s! But we use the same apple ID and ICloud ID! How can undo what happened? all my private stuff is now on his phone!!! help me plz!!?
Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
You can only unravel this by
1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
2. Sign out of System Preferences>iCloud
3. Create a new Apple ID and open a new iCloud account with it for your own use.
4. Import the vCard back into the iCloud contacts page.
5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
6. Go to the new iCloud account and delete his contacts individually.
Of course if you have also been syncing calendars and using the same email address there are problems with doing this. -
Error while opening a module. plz help me, very urgent.
when i try to open a module, the following error message appears on my screen.
" no j2ee component found in d:\krisp\programs\servlets".
i've installed bea in c: drive and my servlet program is in d: drive.
plz help me, it's very urgent.Can you provide some more information? What were you doing when this happened?
Can you post the entire error message?
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
hi ,
plz i got the following error while running a J2ME
program
cannot resolve symbol
symbol : method add (java.lang.String)
location: class java.util.Vector
any ideas????i am currently using 6115tx and its working superb, as for your question, the configurations for both are same and so you can choose any one..
-
how to use '|' delimited as seprator in GUI_DOWNLOAD ? Plz suggest me ,,
i want the output should be seprated by '|' delimited when i download the file.Hi,
We will pass the seperator to the WRITE_FIELD_SEPARATOR parameter as
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_file
write_field_separator = '|'
TABLES
data_tab = itab[] . "Our internal talbe filled with data
Re: Why Function GUI_DOWNLOAD can create XML file but not a flat file?
Award points if useful
Thanks,
Ravee... -
Hi,
i want to access KONV which is cluster table and the field is KWERT.
The thing is that i want to access it by taking customers from KNVV and giving it to VBRK (SALES Table). Now in VBRK i want to have a selection on FKDAT to get a list of Customers stored in the field called KUNAG.
on VBRK-KUNAG basis i want to access the table KONV-KWERT.
If i am doing queries then the System stops responding cuz it has got alot of overhead. So i tried to use Logical Database called VFV.
If this is the best solution means using LDB then how to use it, can anyone help me with this. I tried it by Function module but it is showing all data without considering selection criteria.
If anyone can help me then plz do answer or refer me to any web site so that i can figure this thing out. If anyione has got a good book on that then plz feel free to mail me.
Thanks,
Muhammad Usman Malik
ABAP Consultant
Siemens
[email protected]
+92-333-2700972Write the entire logic between
GET event and END-OF-SELECTION.
and call your smartform in the event END-OF-SELECTION.
START-OF-SELECTION.
GET PERNR ..
*your logic ..
END-OF-SELECTION.
call function'yoursmartform' -
Whenever i try to open a PDF file it says " The adobe/acrobar reader that is running can not be used to view files in a web browser. Plz exit adobe/acrobat readerand exit your web browser and try again." Wt do i need to do, plz suggest.
Regards
Aditya BhargavaHi adityabhargava01-
My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
http://www.mozilla.org/en-US/firefox/new/
My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
[[Options window - Applications panel]]
I hope that helps! -
hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder> go it says this file doesn't exist. can some1 plz help? how can i put all my application through application folder?
Something really odd is going on. In your first screen shot, I noticed that the Applications folder does not have the proper icon displayed in the side bar. Also, in the title bar it lists it as Applications 08-59-29-909.
Not sure where it's picking up that odd name, unless it's because it's still truly within the Trash folder.
Try this. In the Finder > Preferences > General > turn on "Always open folders in a new window". (I have a feeling you have the default setting with this off).
Now, in Finder > Go > move down and open the Applications Folder from there. Now open the folder where you see all your applications that you show in your screen shot, select all, and move them to this true appliactions folder.
This is what you should properly seeing (but with different apps listed):
See how the Applications folder has the icon of the letter A shaped with a pencil, ruler & pen. -
hi all
thanks
plz tell me difference between sy-index,sy-tabix
and sy-dbcnt ect.
or any other feilds like above
plz tell detail which r usefull me
for programming
thanks
anandHi,
SYSTEM VARIABLES:
These are predefined variables defined by SAP. Each system variable starts with the naming convention SY-____. SYST is the name of a structure which holds predefined system variables.
Some of the predefined system variables we commonly use in programming are:
SY-UZEIT
SY-DATUM
SY-SUBRC
SY-INDEX
SY-TABIX
SY-TFILL
SY-ULINE
SY-VLINE
SY-LISEL
SY-LILLI
SY-LSIND
SY-PAGNO
SY-DYNNR
PRINTING DATE AND TIME USING SYSTEM VARIABLES:
Eg. code
DATA DAT LIKE SY-DATUM VALUE '20070720'.
WRITE DAT .
DATA TIM LIKE SY-UZEIT VALUE '062015'.
WRITE TIM.
PRINT HORIZONTAL AND VERTICAL LINES IN LPS:
SY-ULINE - This system variable is used to print horizontal line in LPS (List Processing Screen).
SY-VLINE - This system variable is used to print vertical line in LPS.
Eg. code
WRITE 'THIS IS AN EXECUTABLE PROGRAM'.
WRITE :/ 'THIS IS FIRST LINE OF THE PROGRAM'.
WRITE :/10(40) SY-ULINE.
WRITE :/ 'THIS IS LAST LINE OF THE PROGRAM'.
In the above code, WRITE :/10(40) SY-ULINE, this statement is used to print the horizontal line with position specifiers where,
10 specifies the starting position of horizontal line and
(40) specifies the length of the line in the form of character spaces.
Eg. code to draw vertical lines:
do 5 times.
write :/10 sy-vline.
enddo.
By default, a vertical lines takes one single line to draw. We cannot specify length for the vertical line.
ADDING COLOR TO THE OUTPUT IN LPS:
ABAP follows VIBGYOR format for specifying colors in LPS screen. We can define a number for each color starting from 1 - 7.
SYNTAX:
WRITE <variable_name> COLOR <color_id>.
eg. code:
DATA KARTHIK(10) VALUE 'CHENNAI'.
WRITE KARTHIK COLOR 1.
INCLUDE PROGRAMS:
These are type I programs in SAP. These are one of the repository objects. These programs are used to store a piece of code. We can call the Include program from Executable program using INCLUDE statement.
Eg. code in Include program:
*& Include ZINCLUDEPROGRAM * Autogenerated code
DATA A TYPE I VALUE '20'.
WRITE A.
Save -> Activate.
To invoke the above include program, specify following code in Executable Program:
REPORT ZEXECUTABLEPROGRAM . * Autogenerated Code
INCLUDE ZINCLUDEPROGRAM.
Save -> Activate -> Execute.
SUBMIT STATEMENT:
This statement is used to invoke only the output of the specified program.
eg. code:
REPORT ZNEWEXECUTABLEPROGRAM . * Autogenerated code
SUBMIT ZEXECUTABLEPROGRAM.
Save -> Activate.
ADDING INDEXES TO VALUES IN LPS:
Eg. code:
DO 5 TIMES.
WRITE :/ SY-INDEX COLOR 1, 'THIS IS ABAP IN SAP' COLOR 2.
IF SY-INDEX = 3.
EXIT.
ENDIF.
ENDDO.
SY-INDEX is the system variable used to specify index value in LPS.
EXIT is the control break statement used to break and exit the loop.
Regards,
Priya. -
Regarding SY-UCOMM---urgent plz
when i execute the program ZP2I_MASSCHANGE_TEMP1.
the user instead of pressing the F8 he pressess enter key. If he presses once or twice there is no problem, but if he presses enter key many times then iam getting this error
"Selection screen ZP2I_MASSCHANGE_TEMP1 1000 was
not called using CALL SELECTION-SCREEN"
MY program contains many call selection-screens. so user insted of pressing F8, he presses enter key.
is my question is clear..
plz kindly help on high priority basis.
thanx and regards
sreeHello Sree,
Since you are saying that you have many CALL SELECTION-SCREEN statements in your program, it is very important for you to understand and correcty handle the various <i>screen sequences</i>. As a general rule, you must, at all times, understand the difference between the CALL SCREEN statement and the LEAVE TO SCREEN statement.
Further help may be obtained at the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab0235c111d1829f0000e829fbfe/content.htm
Regards,
Anand Mandalika. -
how to select the download location? its automatically downloading to users folder in c drive.. i wanna change to my desktop...plz help me out...
Tools -> Options -> Save files to -> Click browse button and browse for folder where you want to save the file.
-
I can not view emojis correctly on my brand new iPhone 6 and happens no matter what generation phone and my txt are freen when I send them to someone instead of the normal color. Plz helpu
Hey John,
If you are having an issue with emojis on your iPhone, I would suggest that you troubleshoot using the steps in this article -
iOS: Troubleshooting emoji issues - Apple Support
Thanks for using Apple Support Communities.
Happy computing,
Brett L -
PLz Help me its urgent, how to add new field in mm01 basic data screen
Hi everyone,
plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
Thanks,
murali.Hi Murali,
when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
reward if useful.
thanks
abdulsamee. -
Table Control Text fields problem , help plz
Hello Anand , Rich , John & All
I hav problem with Text 3 fields( type c)(either L or R aligned ) , it is not geting updated , otherwise everything else is perfectly fine(scrolling,sorting etc ....) .
Fields giving problem are
1. Status(20) type c
2. Fdat type date
3. Remark(100) type c
All numerical fields are working fine .
<u><b> My yahoo messenger-id is [email protected]</b></u>
<b>Any light on this will be awarded plz .</b>
FLOW LOGIC
PROCESS BEFORE OUTPUT.
MODULE SET_STATUS.
LOOP AT ITAB
WITH CONTROL TCL1
CURSOR TCL1-CURRENT_LINE .
MODULE SET_LINE_COUNT .
ENDLOOP.
PROCESS AFTER INPUT.
MODULE UPD_OK_COD.
MODULE EXIT_COMAND AT EXIT-COMMAND.
MODULE SCROLL_SORT.
LOOP AT ITAB.
MODULE UPDATE_ITAB.
ENDLOOP.
MODULE UPDATE_TABLE.
REPORT ZSD_REP_ORDER_BANK_CHANGE NO STANDARD PAGE HEADING LINE-SIZE 255.
TABLES: VBAK,VBAP,VBRK,ZSD_TABL_ORDBANK,MARA,KONV.
CONTROLS: TCL1 TYPE TABLEVIEW USING SCREEN 0200.
DATA: ITAB LIKE ZSD_TABL_ORDBANK OCCURS 0 WITH HEADER LINE,
WA_ITAB LIKE ZSD_TABL_ORDBANK,
OK_CODE LIKE SY-UCOMM,
SAVE_OK_CODE LIKE SY-UCOMM,
UPD_OK_CODE LIKE SY-UCOMM,
ANSWER TYPE C,
I LIKE SY-LOOPC ,
J LIKE SY-LOOPC,
V_LINES LIKE SY-LOOPC,
LINE_COUNT LIKE SY-LOOPC,
STS TYPE N,
EMGRP LIKE MARA-EXTWG,
QTY LIKE ZSD_TABL_ORDBANK-QTY,
UPRICE LIKE ZSD_TABL_ORDBANK-UPRICE,
TOT LIKE ZSD_TABL_ORDBANK-TOT,
INO LIKE VBAP-POSNR,
COL TYPE CXTAB_COLUMN,
COPIED_ONCE ,
FLDNAME(100),HELP(100).
FIELD-SYMBOLS:
<FS_ITAB> LIKE LINE OF ITAB,
<FS_TCL1> LIKE LINE OF TCL1-COLS.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECT-OPTIONS: S_CCODE FOR ZSD_TABL_ORDBANK-CCODE
NO INTERVALS NO-EXTENSION OBLIGATORY,
S_SORG FOR ZSD_TABL_ORDBANK-SORG
NO INTERVALS NO-EXTENSION OBLIGATORY,
S_DCHAN FOR ZSD_TABL_ORDBANK-DISTCHAN,
S_DIV FOR ZSD_TABL_ORDBANK-DIV,
S_MATNO FOR ZSD_TABL_ORDBANK-MATNO,
S_CUSTNO FOR ZSD_TABL_ORDBANK-CUSTNO ,
S_QTNO FOR ZSD_TABL_ORDBANK-QTNO,
S_QTDAT FOR ZSD_TABL_ORDBANK-QTDAT,
S_QTVDAT FOR ZSD_TABL_ORDBANK-QTVALDAT,
S_SONO FOR ZSD_TABL_ORDBANK-SONO.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN.
SELECT * FROM ZSD_TABL_ORDBANK
INTO TABLE ITAB
WHERE CCODE IN S_CCODE
AND SORG IN S_SORG
AND DISTCHAN IN S_DCHAN
AND DIV IN S_DIV
AND MATNO IN S_MATNO
AND CUSTNO IN S_CUSTNO
AND QTNO IN S_QTNO
AND QTDAT IN S_QTDAT
AND QTVALDAT IN S_QTVDAT
AND SONO IN S_SONO .
IF SY-SUBRC EQ 0.
REFRESH ITAB.
CLEAR COPIED_ONCE.
CALL SCREEN 0200.
ELSE.
MESSAGE E012(ZQOTBANK) .
ENDIF.
*& Module SET_STATUS OUTPUT
* text
MODULE SET_STATUS OUTPUT.
SET PF-STATUS '0200'.
SET TITLEBAR '0200'.
IF COPIED_ONCE IS INITIAL.
SELECT * FROM ZSD_TABL_ORDBANK
INTO TABLE ITAB
WHERE CCODE IN S_CCODE
AND SORG IN S_SORG
AND DISTCHAN IN S_DCHAN
AND DIV IN S_DIV
AND MATNO IN S_MATNO
AND CUSTNO IN S_CUSTNO
AND QTNO IN S_QTNO
AND QTDAT IN S_QTDAT
AND QTVALDAT IN S_QTVDAT
AND SONO IN S_SONO .
IF SY-SUBRC EQ 0.
DESCRIBE TABLE ITAB LINES V_LINES.
TCL1-LINES = V_LINES.
ENDIF.
COPIED_ONCE = 'X'.
REFRESH CONTROL 'TCL1' FROM SCREEN '0200'.
ENDIF.
LOOP AT ITAB.
QTY = ITAB-QTY.
UPRICE = ITAB-UPRICE.
TOT = QTY * UPRICE .
ITAB-TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-CGL_QTY.
UPRICE = ITAB-CGL_UPRICE.
TOT = QTY * UPRICE .
ITAB-CGL_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-BHEL_QTY.
UPRICE = ITAB-BHEL_UPRICE.
TOT = QTY * UPRICE .
ITAB-BHEL_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-ALSTOM_QTY.
UPRICE = ITAB-ALSTOM_UPRICE.
TOT = QTY * UPRICE .
ITAB-ALSTOM_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-SIEMENS_QTY.
UPRICE = ITAB-SIEMENS_UPRICE.
TOT = QTY * UPRICE .
ITAB-SIEMENS_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-TELK_QTY.
UPRICE = ITAB-TELK_UPRICE.
TOT = QTY * UPRICE .
ITAB-TELK_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
QTY = ITAB-OTH_QTY.
UPRICE = ITAB-OTH_UPRICE.
TOT = QTY * UPRICE .
ITAB-OTH_TOT = TOT .
CLEAR: QTY, UPRICE, TOT.
MODIFY ITAB.
ENDLOOP.
ENDMODULE. " SET_STATUS OUTPUT
*& Module SET_LINE_COUNT INPUT
* text
MODULE SET_LINE_COUNT OUTPUT.
LINE_COUNT = SY-LOOPC.
ENDMODULE. " SET_LINE_COUNT INPUT
*& Module UPD_OK_CODE INPUT
* text
MODULE UPD_OK_COD INPUT.
IF OK_CODE = 'SAVE'.
UPD_OK_CODE = OK_CODE.
* CLEAR OK_CODE.
ENDIF.
ENDMODULE. " UPD_OK_CODE INPUT
*& Module EXIT_COMAND INPUT
* text
MODULE EXIT_COMAND INPUT.
SAVE_OK_CODE = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK_CODE.
WHEN 'BACK'.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Order Bank Entry'
TEXT_QUESTION = 'Do you want to Go BacK ?'
TEXT_BUTTON_1 = 'Yes'
TEXT_BUTTON_2 = 'No'
DEFAULT_BUTTON = '2'
IMPORTING
ANSWER = ANSWER.
IF ANSWER = '1'.
LEAVE TO SCREEN 0.
ELSE.
ENDIF.
WHEN '%EX'.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Order Bank Entry'
TEXT_QUESTION = 'Do you want to Exit ?'
TEXT_BUTTON_1 = 'Yes'
TEXT_BUTTON_2 = 'No'
DEFAULT_BUTTON = '2'
IMPORTING
ANSWER = ANSWER.
IF ANSWER = '1'.
LEAVE TO SCREEN 0.
ELSE.
ENDIF.
ENDCASE.
ENDMODULE. " EXIT_COMAND INPUT
*& Module UPDATE_MOD INPUT
* text
MODULE UPDATE_ITAB INPUT.
MODIFY TABLE ITAB FROM ITAB.
ENDMODULE. " UPDATE_MOD INPUT
*& Module SCROLL INPUT
* text
MODULE SCROLL_SORT INPUT.
SAVE_OK_CODE = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK_CODE.
WHEN 'P--'.
TCL1-TOP_LINE = 1.
WHEN 'P-'.
TCL1-TOP_LINE = TCL1-TOP_LINE - LINE_COUNT.
IF TCL1-TOP_LINE LE 0.
TCL1-TOP_LINE = 1.
ENDIF.
WHEN 'P+'.
I = TCL1-TOP_LINE + LINE_COUNT.
J = TCL1-LINES - LINE_COUNT + 1.
IF J LE 0.
J = 1.
ENDIF.
IF I LE J.
TCL1-TOP_LINE = I.
ELSE.
TCL1-TOP_LINE = J.
ENDIF.
WHEN 'P++'.
TCL1-TOP_LINE = TCL1-LINES - LINE_COUNT + 1.
IF TCL1-TOP_LINE LE 0.
TCL1-TOP_LINE = 1.
ENDIF.
WHEN 'SORTUP'.
READ TABLE TCL1-COLS ASSIGNING <FS_TCL1> WITH KEY SELECTED = 'X'.
IF SY-SUBRC = 0.
SPLIT <FS_TCL1>-SCREEN-NAME AT '-' INTO HELP FLDNAME.
SORT ITAB ASCENDING BY (FLDNAME).
ENDIF.
WHEN 'SORTDN'.
READ TABLE TCL1-COLS ASSIGNING <FS_TCL1> WITH KEY SELECTED = 'X'.
IF SY-SUBRC = 0.
SPLIT <FS_TCL1>-SCREEN-NAME AT '-' INTO HELP FLDNAME.
SORT ITAB DESCENDING BY (FLDNAME).
ENDIF.
ENDCASE.
ENDMODULE. " USER_COMMAND INPUT
*& Module TABL_UPD INPUT
* text
MODULE UPDATE_TABLE INPUT.
CASE UPD_OK_CODE.
WHEN 'SAVE'.
UPDATE ZSD_TABL_ORDBANK FROM TABLE ITAB .
IF SY-SUBRC EQ 0.
MESSAGE I002(ZQOTBANK) .
CLEAR UPD_OK_CODE.
ELSE.
MESSAGE E003(ZQOTBANK) .
ENDIF.
ENDCASE.
ENDMODULE. " TABL_UPD INPUT
Thnx
moni<b></b><b></b>
Message was edited by: md monirujjaman
Message was edited by: md monirujjamanHi Moni,
The problem as I had replied in your earlier post is with the MODIFY statement.
MODIFY TABLE ITAB FROM ITAB. This statement will do the modifications based on the table key. When you have character fields as editable, then some problems are to be anticipated. In such a scenario, you must update the internal table based on the <i>index</i>, rather than based on <i>key</i>.
So consider using
MODIFY ITAB FROM ITAB INDEX TCL-CURRENT_LINE.
Where TCL is the name of the Table Control. Also observe the difference in syntax here, don't use the TABLE keyword for the MODIFY statement.
Please try it out and let me know.
Regards,
Anand Mandalika. -
Hi,
plz tell me the way to print text/data using printer in flex. I tried the FlexPrintJob class. but it takes object of a container to be printed & prints the visible content of that container(along with scrollbars), bt i want to print all contents of the container(including invisible).
I have tried to print bitmap image through FlexPrintJob but it takes lot of time for spooling... So plz help me out in printing(fast with all content) in flash
I am using flex 3 (flex Builder 3 IDE).
Thanks in advance!!!Hi Sagar,
Don't worry You can use the below work around to print all the contents of the Container including the invisible contents under scrolll with out scroll bar..
So what the idea here is we are seeting the container height to full size with out scrolls before sending the container object to printer and as soon as you print the object you are restoring it to the original height with scrolls...so that you can print the full contents without scrolls...
You may have doubt that by chnaging and restoring the size the user may see momentary resize of the container but it is not so as it is a fraction of a second and user cannot notice this change... Give it a try ..I had already run into this problem recently and I have found a work around for this which is as below:
// Here mainContainer is the container or box id the contents of which you want to print
private function doPrintContainer():void
var printJob:FlexPrintJob = new FlexPrintJob();
if(printJob.start() != true) return;
try
var mainContainerHeight:int = mainContainer.height;
//Increasing the height of the desired component to be printed.
mainContainer.height = mainContainer.measuredMinHeight;
mainContainer.verticalScrollPolicy = "off";
//Adding the resized Component to our FlexPrintjob and then sending the print request
printJob.addObject(this,FlexPrintJobScaleType.MATCH_WIDTH);
printJob.send();
//Resizing the component back to normal size
mainContainer.height = mainContainerHeight;
mainContainer.verticalScrollPolicy = "auto";
catch(error:Error)
trace("Error : " + error.message);
If this post answers your question or helps, please kindly mark it as such.
Thanks,
Bhasker Chari
Maybe you are looking for
-
I don't know what other information you need. I have no Firefox or tabs or any other toolbar at the top of my screen. I don't even have a way to sign off the internet. I want to get my home screen back, or any other that will allow me to operate.
-
How can i use 3D Features with 256 VRAM
How can i use 3D Features with 256 VRAM
-
My Mac book Pro is running very slow and the rainbow ball is appearing all the time. Any suggestions for clean up?? I have the OS X Lion system.
-
Is my 3G iPod worth revitalizing?
Here's my dilemma. I have a 3G iPod. It's in great condition and I love it. Recently, the battery has gotten wors and worse, but now it's at a point where it coesn't really hold a charge anymore. But,I'm wondering if holding a charge is its only prob
-
Hi! I already did a backup file for my old iphone4 16G but then iTunes has restored (From the same backup file I did) all data into my new iphone5 32G (my conacts, my only 5 apps!) except my 470 photos! Why?! Where they gone?! What should i do now? P