How to know the whole selection x/y/width/height properties ?
Hi,
I would like to know the x/y/width/height property of the rectangle that surround the "select all"
I select all my components like this :
For Each artItem In docRef.PageItems
If Not artItem.Locked Then 'Selecting a locked item crashes
artItem.Selected = true
End If
Next
How can I know the whole size and position ?
Thanks
Ok I found something that does the trick.
To know the bounds of all items, actually you don't need to select them.
Dim bound, x, y, width, height
bounds = docRef.visibleBounds
x = bounds(0)
y = -bounds(1)
width = bounds(2) - bounds(0)
height = -(bounds(3)-bounds(1)
And it works ^^
Similar Messages
-
How to know the select statement perfomence
how to know the select statement perfomence. suppose i have 10 select statements in my program. how will i know which select statement not performance wise poor.
Go to ST04/
Click on Detail Analysis menu button.
Click on the SQL Request button.
In the pup up give <table name> and execute.
Then you will get a list of all the programs that have a select on that table.
Or ST05 transaction t start the trace and run your program .Deactivate the trace in st05 .
and display the trace.
Regards,
Ravi -
How we know the selected node in a Tree object in a form?
In a TREE object in forms, how can we know the current selected node by clicking a push button.
lets say , there are 10 nodes in my tree, and 5th one i selected. But i want to store the selected node in a variable, when i click a button.
please help
thanksHello
I've just notice what might be a bug in Oracle forms because when I have the when-tree-node-selected trigger present for the tree (It does not matter if it executes null or some code), the code in option 1 works fine on a when-button-pressed trigger on a button item. This is what I had done to give you a reply.
My second option will work because you're populating a parameter with when-tree-node-selected trigger which is then readable form anywhere else in the form. All you add is a check on when-button-pressed. Also for bug handling you need to consider setting the value to null when deselecting. I have this option working currently in one of my applications.
DECLARE
num_selected NUMBER;
htree ITEM;
curren_node FTREE.NODE;
BEGIN
htree := find_item('tree.form_list');
num_selected := ftree.get_tree_property(htree,ftree.selection_count);
for j in 1..num_selected
LOOP
curren_node := ftree.get_tree_selection(htree,j);
message('hello :'||ftree.Get_Tree_Node_Property(htree,curren_node,ftree.node_value),acknowledge);
end loop;
END;
cheers
Q -
i have forgotten the password to my ipad and its says connect to itunes but i cant connect it to my computer because of the code on the ipad so i need to know how to wioe the whole ipad and start again like a brand new ipad?
iOS: Device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
How can I unlock my iPad if I forgot the passcode?
http://tinyurl.com/7ndy8tb
How to Reset a Forgotten Password for an iOS Device
http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
Using iPhone/iPad Recovery Mode
http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
~~~~~~~~~~~~~
‘iPad is disabled’ fix without resetting using iTunes
Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
2. Open iTunes with the iPad disconnected.
3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
5. Click ‘Setup as new iPad’ and then click restore.
6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
~~~~~~~~~~~~~
Try it and good luck. You have nothing more to lose if it doesn't work for you.
Cheers, Tom -
How to get to know the current selected service?
Can anyone tell me how to get the current selected service in MHP? I tried to find one but no result. Can javax.tv.media.MediaSelectControl.getCurrentSelection() gives me the answer?
servicecontext.getService()
-
HI how to debug the whole SC creation process
Hi
I need small help from all you great guys.
I am working with EBP application.
I want to know the process of creation of shopping cart to the creation of PO in the r/3 system.
How to debug the whole process. I can create a shopping cart in the EB web. I want to know what is hapening in the backend during the creation of shopping cart.
I know the web transaction for the creation of the shopping cart. I tried to debug the process by going SE80 and giving the web transaction , but it is very cumbersome process and i was confused. Is there any way i can know what is happening in the backend and how the SC data is transferred to the bacend and how PO is created in the R/3 system
sankarHi Sankar Rao
we can debug the shopping cart from sap GUI via tran. /nBBPSC01
1 Click on internal Goods/services and select the product for which you want to create a SC and press enter.
2 In command window input /h and press enter
3 Click on the button Order it will go in debug mode.
4 Insert break points on Statement - Select
5 Insert break points on Statement - Insert
6 Insert break points on Statement - update
and press F5 key to move one step ahead and F8 key to halt directly at each break point.This way go upto the save mode and order your SC at run time in debug mode.
regards,
Nimish Sheth
NB Do rewards points for helpful anwsers. -
Hi Team,
R12 Instance :
Oracle Installed Base Agent User Responsibility --> Item Instances -->
Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
In the above page there are two table regions.
Notes.
-------------------------------------Table Region---------------------------
Attachments
-------------------------------------Table Region---------------------------
--the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
I want to know what are the document types are displayed in this page ?
--We developed a custom program to attach the attachments to the services contracts and the above seeded OAF page displays those ..as needed.
But after recent changes..the Attachments--> table region is not showing the attachments.
I have verified the query..and could not find any clue in that..
but i need some help if you guys can provide..
SELECT *
FROM
*(SELECT d.DOCUMENT_ID,*
d.DATATYPE_ID,
d.DATATYPE_NAME,
d.DESCRIPTION,
DECODE(d.FILE_NAME, NULL,
*(SELECT message_text*
FROM fnd_new_messages
WHERE message_name = 'FND_UNDEFINED'
AND application_id = 0
AND language_code = userenv('LANG')
*), d.FILE_NAME)FileName,*
d.MEDIA_ID,
d.CATEGORY_ID,
d.DM_NODE,
d.DM_FOLDER_PATH,
d.DM_TYPE,
d.DM_DOCUMENT_ID,
d.DM_VERSION_NUMBER,
ad.ATTACHED_DOCUMENT_ID,
ad.ENTITY_NAME,
ad.PK1_VALUE,
ad.PK2_VALUE,
ad.PK3_VALUE,
ad.PK4_VALUE,
ad.PK5_VALUE,
d.usage_type,
d.security_type,
d.security_id,
ad.category_id attachment_catgeory_id,
ad.status,
d.storage_type,
d.image_type,
d.START_DATE_ACTIVE,
d.END_DATE_ACTIVE,
d.REQUEST_ID,
d.PROGRAM_APPLICATION_ID,
d.PROGRAM_ID,
d.category_description,
d.publish_flag,
DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
d.URL,
d.TITLE
FROM FND_DOCUMENTS_VL d,
FND_ATTACHED_DOCUMENTS ad
WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
*) QRSLT*
WHERE ((entity_name ='OKC_K_HEADERS_V'-- :1
AND pk1_value IN ( 600144,599046) --:2
AND category_id_query IN (1, :3, :4, :5, :6, :7) )
AND datatype_id IN (6,2,1,5)
AND (SECURITY_TYPE =4
OR PUBLISH_FLAG ='Y')))
--='000180931' -- 'ADP118'
The above seeded query is the one which is used for table region to retrieve the data..
how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
--SridharHi Patricia,
is it working for restricted key figure and calculated key figure ??
Note Number Fisc Period Opening Days
1 1 2
2 1 3
3 1 0
because I have other restriction, so I create two restricted key figure..
RK1 with restriction : Total Number of Note,
RK2 with restriction : Total Opening Days ,
then I Created a calculated key figure, average opening days in a period
CK1 = RK2 / RK1..
in this case, I am not sure if it will work or not..
for example, during RK2 calclation, it might be this 2+3 = 5, the line with 0 will be ignored..
during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
could you please confirm.. -
How to avoid the user selecting a different path in my installer
Hello again all you helpful forum-goers!
I have an application and a corresponding installer, and then I have a separate installer putting some support files in the same directory. My problem is that if the user selects a different path to which to install my primary application, the secondary installer will not put the required support files in the same spot.
Now, I think I've figured out how to get the user-selected path from the "Run executable at the end of installation" option in the Advanced pane of the LabVIEW installer configuration, and I can pass that in to my secondary installer, and that should fix the problem. However, what I'd really like to do is just not give the user the option to install my primary application in a different directory to begin with. I've looked, but cannot find any way to do that.
Does anyone know of any way to not present the option to install an application in a different directory when using the LabVIEW installer?
Thanks in advance for any suggestions,
-JoeBen64,
That's great! Thank you so much for your quick reply. The only reason I haven't already accepted that as my solution is that it requires a manual post-compile change to a text file. Ideally I'd prefer not to have to remember to do that every time I rebuild my installer. Is there any way that you know of to automate the process?
If not, I'm happy to have a good solution even if it takes an extra step each time to implement.
-Joe -
How to get the old selection in ListSelectionListener valueChanged() method
Hi,
Is anyone know how to get the old selection index/value in the ListSelectionListener valueChanged() method? The list.selectedValue() always return the same value which is the new selection. The ListSelectionEvent.getFirstIndex() and getLastIndex are always firstIndex <= lastIndex so that you cant' tell which one is the old selection.
Please help and thanks!Just test the two indexes (first and last): if the corresponding row is selected, then the other is unselected. That gives you the old (unselected) and new (selected) item.
Of course, I have supposed that you were using a SINGLE_SELECTION model...
Hope this helped,
Regards. -
How to know the run time of a program..?
Hi Gurus,
How to know the exact run time of a program....?
Suppose i've a program....I've changed the code to improve the performance.
Now i want to compare run time of older and new one...How to do this...?
Pls help me ....
Thanks and Regards,
NagarjunaHi,
go thru the below mentioned code............
data: start TYPE i,
end TYPE i,
dif TYPE i.
GET RUN TIME FIELD start.
SELECT SINGLE bukrs belnr gjahr blart budat
FROM bkpf
INTO (cc, doc, fy, doc_ty, pst_dt)
WHERE bukrs = p_bukrs
AND belnr = p_belnr
AND gjahr = p_gjahr.
GET RUN TIME FIELD end.
dif = end - start.
WRITE: /001 'Time for select',
067 ':', dif, 'microseconds'.
Reward all helpful answers.
Thanks -
How to get the default selection color from JTable
Hi, there,
I have a question for how to get the default selection color from JTable. I am currently implementing the customized table cell renderer, but I do want to set the selection color in the table exactly the same of default table cell renderer. The JTable.getSelectionBackgroup() did not works for me, it returned dark blue which made the text in the table unreadable. Anyone know how to get the window's default selection color?
Thanks,
-JennyThe windows default selection color is dark blue. Try selecting any text on this page. The difference is that the text gets changed to a white font so you can actually see the text.
If you don't like the default colors that Java uses then use the UIManager to change the defaults. The following program shows all the properties controlled by the UIManager:
http://www.discoverteenergy.com/files/ShowUIDefaults.java
Any of the properties can be changed for the entire application by using:
UIManager.put( "propertyName", value ); -
How to know the list of reports that are in usage
Hello,
How to know the list of reports that are in use from the last 3 months by the users on Bw server.How basis team will help me in this regard?
Regards,
Anand.Hi,
Pl look at following tables if you need any further detailed information
Table Name Use of the table
RSZELTDIR
Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references .
To get a list of query elements built on that cube.filter by: OBJVERS = 'A', INFOCUBE= [stage:cubename]
RSRREPDIR
Directory of all reports (Query GENUNIID) .
To get all queries of a cube.filter by: OBJVERS = 'A', INFOCUBE= [stage:cubename]
RSZCOMPDIR Directory of reporting components.
To get query change status (version, last changed by, owner) of a cube.
RSZRANGE Selection specification for an element
RSZSELECT
Selection properties of an element
RSZCOMPIC
Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV
Global Variables in Reporting
RSZCHANGES Change history of reporting components
Thanks and regards -
How to know the parent material in BOM if we know the last level material
Dear all,
We have around 40000 material codes with 18 digits. We can't remember all these. If we know the material code, we can easily find out sublevel or downlevel material by CS03,CS11 ,.....
But if we know the material code , how to find upper level material code in BOM ?
How to know the parent material in BOM if we know the last level material ?
Pl' answer.Hi Kishore,
Have u tried with report CS15. Give last Level Material ->goto nect Screen->select "Multi level " check box then excute.
it will give All Parent material of Last material, u can indentify with BOM level NO.
regards
pradeep -
How to know the delay in redo log apply on Active Dataguard 11g
Hello All,
How to know the delay in redo log apply on Active Dataguard 11g...
Do we need to wait till log switch occurs?
Or is it recommended to schedule a log switch every 15 min, no matter data is updated/inserted or not in primary?
Please suggest...
Oracle : oracle 11g Release 2
OS : RHEL 5.4
Thanks
Edited by: user1687821 on Feb 23, 2012 12:02 AMHello CKPT,
Thank you for the valuable information...
We have not configured databroker.
Output of the query
SELECT * FROM (
SELECT sequence#, archived, applied,
TO_CHAR(completion_time, 'RRRR/MM/DD HH24:MI') AS completed
FROM sys.v$archived_log
ORDER BY sequence# DESC)
WHERE ROWNUM <= 10
Primary...
SEQUENCE# ARCHIVED APPLIED COMPLETED
29680 YES YES 2012/02/23 01:11
29680 YES NO 2012/02/23 01:11
29679 YES NO 2012/02/22 23:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29678 YES NO 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29677 YES NO 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29676 YES NO 2012/02/22 22:02
Standby...
SEQUENCE# ARC APP COMPLETED
29680 YES YES 2012/02/23 01:11
29679 YES YES 2012/02/22 23:11
29678 YES YES 2012/02/22 23:11
29677 YES YES 2012/02/22 22:32
29676 YES YES 2012/02/22 22:02
29675 YES YES 2012/02/22 21:24
29674 YES YES 2012/02/22 19:24
29673 YES YES 2012/02/22 18:59
29672 YES YES 2012/02/22 17:42
29671 YES YES 2012/02/22 17:41
Primary shows yes as well as no...
Next,
From primary:-
SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
From standby:-
SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group by thread#;
THREAD# MAX(SEQUENCE#)
1 29680
What is the redo transport service you are using? is it LGWR or ARCH ?
Output of query select * from v$parameter where name like 'log_archive_dest_2' shows below value...
SERVICE=b_stdb LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=b_stdb
So is it lgwr already configured...? if yes then how do i see the delay in both servers..
Yes, the network is good as they both resides in same LAN within same rack
Thanks... -
How to know the full path which is being used in the dataconnection .
How to know the full path which is being used in the dataconnection without going and looking into coding.
I am new to crystal reports.
Plz advice.Thanks in advance
JayThis forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
As you do not want to do any coding, this query is in the wrong forum. However, in most versions of Crystal Reports, you can look up the database connection information by simply opening the report in the CR designer. Then go to the database menu and select "Set Datasource Location..."
Ludek
Maybe you are looking for
-
SOLVED I need Memcached help ...
Everything is working. I just "missed" to use connect in php :-( Thanks I'm trying to install memcached on my web server (apache + php), but I still have no success. I installed memcached 1.2.5-1 from community (and started the server/etc/rc.d/memca
-
Hi, I have a specific issue regarding pricing:- The requirement is that the following entry should be passed in accounting while billing:- Dr. Revenue 100 Cr. AR 100 Dr. Cost of sales 5 Cr. TAX payable 5 For this requirement we have maintained a cond
-
Data type conversion JCO To ABAP( Double to DEC)
Hi, I want to update a field having data type as DEC with length 11 in APO system using JCO.Whatever i give as input is not getting reflected in APO system. Instead i get some different value. It seems that there is some data type conversion for th
-
Filter option in MD03 screen as in MD04
Dear all, I have a requirement wherein the filter option which is present in the MD04 screen is found to be useful whereas the same option is not available in MD03 screen. Can anyone tell the way of enabling the filter option either through Customisi
-
TS3697 My iTunes stopped syncing with iPhoto
My iTunes stopped syncing with iPhoto, but I get no warning message. Just no update of photos. I do not believe i updated anything at the time that iTunes stopped syncing with iPhoto, its possible this coincided with one of the iTunes updates and i