Using scrollbar to show a particular position
Hi!!! i want to use some scrolling facility in my JScrollBar so that my
scroll bar scrolls down to the highlighted line (which is kept in a Vector) in my displayed text area.
depends on how you keep track of your highlighted line position. one way is to use setCaretPosition(int position) which will scroll the text to the position if it is not visible.
thomas
Similar Messages
-
Hello,
I have opened artwork created by someone else. We are both using Illustrator CC. This particular issue shows up in Illustrator CS5 also. Issue: in the links pallet a weird gray gradient keeps replicating. I cannot identify it in the artwork. It is an embedded image. I cannot get rid of it and it keeps reproducing. WHAT is it and why can't I delete it?
Thanks for any help. IngridHello, yes it is reproducing over and over. I look in the original artwork and there are 28. I did not save over the original art but “save as”. Worked on the new file for a while and now there are 47!. I copied all the content to a new blank, all colors removed, file and there they were. If I click on them can’t relink, won’t show a bounding box, no frame in wire-frame, no stray points. they are ghosts. Here is an image, to give a better visual of how they look in links panel. Any ideas? Thanks, Ingrid
-
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
To get the content of a pdf file in a particular position in text format
I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
i am using PDFTextStripper class in pdfBox jar to get the content as whole.
pls send some sample code
pls help me
Edited by: thomas00 on Sep 21, 2007 2:55 AM
Edited by: thomas00 on Sep 21, 2007 3:08 AMpls any one reply
-
To attach a Phone or a vehicle to a particular position in Organisation
Hi Experts,
Is it possible to attach a Phone or a vehicle to a particular position in an organisation so that an employee holding that particular position may be able to access them.
Scenario is like a Phone & Car is issued to a particular position like(Chief Engiineer) in the organisation.
Regards,
TomeshDear Tomesh,
You can make use of IT1010 for tha assignment of resources by creating subtypes for the same IT. Also crate entries in the table T778W for the subtype you have created.
If you are looking for any icon display then i'm nor sure but you can place in SAP Note.
Regards,
Anil. -
Move data from one fs to another from a particular position.
Hi all,
i have a requirement where i want to move data from one field symbol to another from a particular
position.
I have a work area which contains string values. i have converted this string to hexadecimal value .
in this hex string m lukin for a position where '0A' occurs. Now i have to pick the string till dis '0A' value and move it to some other field symbol. Can anybody tell me how to do that.
The code i have written is as follows:
FIELD-SYMBOLS: <fs> TYPE x.
data: temp1 type string,
p_word type string,
temp2 TYPE string,
w_len TYPE i.
temp1 = wa_value-value. "this wa containd the value
w_len = strlen( temp1 ).
if temp1 cp '"*'.
ASSIGN wa_value-value TO <fs> CASTING TYPE x. " converting wa to hex value
DATA: VAR TYPE i,
COUNTER TYPE i,
line_feed_count type i,
temp_count type i.
VAR = strlen( wa_value-value ).
CLEAR: COUNTER, temp_count, line_feed_count.
WHILE COUNTER LE VAR.
IF <fs>+counter(1) = '0A'.
line_feed_count = line_feed_count + 1.
COUNTer = COUNTer + 1.
ENDIF.
COUNTER = COUNTER + 1.
ENDWHILE.
endif.
Now , i want to pick data from starting till the position it gets '0A' and then again till it finds another '0A'.
Thanks in advance.Hi,
As everyone has rightly pointed out, there is no direct way of transferring the data from one appset to another. However, there are definitely few ways of doing it:
1. Run export package. Export the data in flat file. Import the data using import DM package.
2. Export the data from the cube of your application in excel file. Then run the import DM package to load the data.
3. Run UJBR transaction in SAP. Take the backup of the transactional data. You will get few flat files. Run the import DM package.
All the above steps will work only if the structure of the applications in both the appsets is the same. Otherwise, you will have to modify the flat file before uploading the file.
Hope this helps. -
Geting the content of a pdf file in a particular position
I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
i am using PDFTextStripper class in pdfBox jar to get the content as whole.
pls send some sample code
pls help mepls any one reply
-
Printing text at particular position in SAPscript
Hi All,
I want to print text at particular position, I used Command POSITION but it is not working .
As I am using counter as Y position for a box and i want to print lines of text in that box. since I am able to position box according to counter but, texts which I want to display in box is not comming inside the box according to the counter.
Please suggest what command to use for this.
Thanks & Regards
ShwetaYes Bernsen ,
You are right. POSITION works only with BOX not with text.
And also I can not create text in the another window as there are two headers of main window in my form . one is for the line Items and after completion of it tis another header which is for the another lineitems say for withholding taxes of the vendor. so I need both the headers in the main window.
Any way finally I got answer of my question. I will want to share with you all what I did:
For the first box headre no y coordinate was required as height was the main thing here.
Then came the line items . I set counter for this line item.
This counter I used as ypos for the box. then for displaying heared text I made some adjustement with this counter as if line item is 2 then I gave one line space .
whereas for multiple lines i.e. if no. of line is more than 2 then I gave 2 line space above the text to fit it into box. as my text was always appearing below drawn box.
Thanks.
Shweta -
Is there and App for the iPad that will show mu GPS position on a world map, even if I'm at sea?
Thanks,
TomacBobTheFisherman wrote:
GPS will show your position anywhere if your device has unobstructed view of the GPS satellites. The issue is that you must find a maps/charts that include all areas of the sea.
There is no mobile data connection required to use GPS on land or sea. Once again your issue is the availability of downloadable maps/charts for the areas you will be traveling.
Sorry, but you can't install an app like NAVIGON on an iPad without 3G cellular data connection:
copied from NAVIGON app:
...can be installed on any iPhone3GS, iPhone4, iPhone4S, iPhone5 or iPad device (the navigation function is only available on the iPad WiFi+3G)
Can I navigate with my mobile phone?
Answer:In principle yes. For mobile phones there are both Onboardnavigation solutions and Offboardnavigation solutions.
The following requirements must be fulfilled:
• The software must support the mobile phone. NAVIGON software
always comes with a compatibility list. The software is guaranteed
to work only for the mobile phones on this list.
• The mobile phone must have a GPS receiver. Many new mobile
phones come with a built-in GPS receiver. Otherwise you can use
an external GPS receiver which is connected to the mobile phone
by cable or Bluetooth.
• It should be noted that an offboard solution incurs costs for using
the mobile phone network to communicate with the provider's server.
Message was edited by: Ingo2711 -
How to position all alert messages in a particular position?
Hi All,
I have developed a Application where it contains so many Alert Messages and i want display All Alert messages in a particular position of respected screen. I have tried the following code but it works for individual alert messages. I don't want to set x and y properties individually, i want set x and y properties globally. Is there any way that i can apply for all the alert messages in my application.
myAlert = Alert.show('Hello World');
PopUpManager.centerPopUp(myAlert);
myAlert.x = 0;
myAlert.y = 0;
Thanks in AdvanceYou could override the Alert class. This would like something like:
public class MyAlert extends Alert {
public get x():void {
return 0;
public get y():void {
return 0; -
Acces a particular position in fieldname into "condition editor"
Hello someone!.
Our XI systems have installed > SP14.
We want to use filename into "condition Editor". Actually only can acces a context object area for select FILENAME but we want to compare with a particular position of the filename. In abap the expression will be filename+12(4) = 'ANUL'.
How i can do into "condition editor" if filename is a context object variable?.
Thanks for all.
best Regards.
Julián.Hi Julián,
You could use the "Contains Pattern (CP)" functionality:
http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/frameset.htm
In your case it should work with the pattern ++++++++++++ANUL*
Let me know, if this works for you.
Regards
Stefan -
Using JScrollPane to show multiple JLists
Hi, I want to show variable no. of JLists in my GUI. The no of JLists will be available at run time only. Can I put all these JLists in 1 ScrollPane so that whatever may be the no. of JLists (they may be 10 to 15) using scrollbar I can view all the JLists?
Here is my requirement:
| JL1 | JL2 |.....................................................| JL n |
|____|___|....................................................... |____|
Scrollbar should come here to scroll horizontally <--------------->
Thanks in advancce,
Adhiraj.Create a JPanel (mainPanel for instance) with a new GridLayout(1, 0). 0 indicates that there can be any number of columns. Add mainPanel to a JScrollPane and that should be enough.
-
Use mask to show one bullet point at a time
I have content in multiple bullet points of text. The background is a texture. I'd like to use mask to show the text in sync with audio. It works but the text is the color of the mask. I have bullet point itself in a different color. How can I mask the area to show and use its own color?
Or is there a better way to sync multiple bullet points of text without having each bullet points in its own layer and MC?
Thanks,make sure your font is embedded.
-
Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help me. Someone told me we should stop function Find my iphone but how?? email does not even know the first lord. It cost me 400 euros but may not use iphone. someone laugh at me because I deceived. Please help me tell me his email talk to you should stop off iCloud or ID
Scuzati de engleza google translate
-
Using export slide show from iphoto, I am trying to create a DVD of photos and vid clips in large format. The vid clips do not work using burn software. Any idea?
Have used large format, but using the 'burn' software, I am not getting seamless video quality on DVD even though I am burning at 2* speed. Any ideas? Do I need better software? Or is there a problem with the SuperDrive?
Maybe you are looking for
-
I am converting my old VHS tapes to iMovie via my Canon mini DV camera. Some of these tapes are over 10 years old and are full of stopping and starting. In iMovie, I have turned OFF the "Start new clip at scene break" to try to import the entire tape
-
Home button and volume doesn't work
My iphone 4 home button and the volume doesn't work. Have Besy Buy black tie protection plan but they want me to be without my phone for almost a month to repair. I can't do that. What can I do to fix myself?
-
Creating a JOB for BMV0 for Material
Hi, I am using the direct input method for uploading materials in my system. The problem being here i want do it using transaction BMV0. I know that for the JOB we need to define the variant. But after defining the variant where can i set the details
-
Any ideas? Thanks.
-
Mosaic / composite application / descriptor.xml
Hi all, Is there any more documentation or examples to develop a composite application with Convertigo. what is the descriptor.xml file in composite appliaction? any help or recommendation ?