Selecting an area in canvas
Hi all,
I have a canvas inside an application. I want to select a rectangular area inside the canvas, just like we use to select text in MS Word , i.e, by dragging the mouse by left click. i know it can be done by Mouse_UP and Mouse_DOWN events, but what i want is that while we drag , the area gets started filling with a color. is it possible??
Thanks
Something like this?,
http://blog.jeethukarthik.com/flex-selection-rectangle/
Similar Messages
-
Selected componets on design canvas jump location
When I select a componet/object on the design cavas, that is located far enough down it requres first scrolling down using the scroll bar, Creator:
1) sets the focus of control on that componet
2) jumps back to the top of the scroll bar
3) moves the componet to the upper portion of the canvas
It happes regardless of the type of componet I select.
I'm using
- Java 1.5.0_04
- Java Studio Creator 2 Build 060120
- Windows XP v5.1 w/ SP2
- Pentium M 1.78GHz Dell D810 Laptop
Has anyone else experienced this?The selected componets are placed in a layout panel set to a grid page layout. The grid panel itself is a fixed with panel with a negative left margin and a 50% left side offset to keep it centered on the browser window at all times.
I haven't done a ton of pages or projects so only time will tell. It does occur after restarting the IDE. -
Select-options are not destroyed while calling view of used component popup
Hi Friends ,
I'm facing a unique problem. I'm calling a view of a component within another component. the view that I'm calling has some select-options. When I close the popup window ( using close 'X' of popup ) and then try to reopen the popup system give me a dump. I debugged and found that select-options are not destroyed by system and once it tries to create the select-options again it dumps because they are already there.
This is the source code extract of that dump for your reference .
1 method if_wd_select_options~add_selection_field.
2
3 data:
4 lr_table_descr type ref to cl_abap_tabledescr,
5 lr_struct_descr type ref to cl_abap_structdescr,
6 lr_value_field_descr type ref to cl_abap_elemdescr,
7 added_field like line of mt_added_fields,
8 dfies type dfies,
9 description type string,
10 complex_restrictions type if_wd_select_options=>t_complex_restrictions.
11
12 field-symbols:
13 <it_result> type index table.
14
15 * check of someone wants to add a field that already exists
16 read table mt_fields
17 with key m_id = i_id
18 transporting no fields.
19 if sy-subrc = 0.
20 * might be deleted - recreating a field with different setting is of course allowed
21 read table mt_all_removed_fields
22 with key table_line = i_id
23 transporting no fields.
24 if sy-subrc <> 0.
>>> message x000(00).
26 endif.
27
28 * remove the existing field in order to avoid duplicates
29 delete table mt_fields with table key m_id = i_id.
30 endif.
I've already tried using REMOVE_ALL_SEL_SCREEN_ITEMS( ) method of interface IF_WD_SELECT_OPTIONS before creating new elements ( select-options ). If any one can help me in this It would really help and I'll appreciate it.
Thanks in advance,
LaeeqI've sloved the problem
-
Selection criteria are not applied to summary fields on group footers.
I wonder if anyone can help me with this problem. I am using Crystal reports version 11.2, and my data source is a Sql Server view.
The records on the view have a date field, and I have selected all records within a given date range in "Selection Formulas".
The records are then grouped, and the Crystal summary facility used to summarise number fields on the group footers.
So for example, if my view contains four records, one with field "amount" = 2, one with field "amount" = 8, one with field "amount" = 6, one with field "amount" = 3, but only the first two records are within the valid date range, you would expect to see the first two records listed out at detail level, then field "amount" summarised at group level, with a summarised value of 10.
ie .... record1 2
record2 8
group level total 10
This works fine when I run the report using Crystal's "print preview" facility. However, when the report is run from within an application written in C#.NET, the selection criteria are not applied to the summary field, so you get ..
record1 2
record2 8
group level total 19
I tried putting the date selection criteria at both record and group level, but that did not work.
I googled the problem and found an article explaining that Crystal first performs the record-level selection, then it creates the groups and totals up any summary fields, and only then does it apply the group-level selection criteria, which can lead to problems like the one I have described above. However, since I have put my date selection criteria at both record and group level, I do not understand why I still get the problem.
In one report I got round this problem by creating a formula that returned zero if the record date was outside of the valid date range, and returned the number field to be summarised if the date was valid, then summarising that formula, instead of summarising the number field directly.
In other reports I created one formula to set a shared variable as zero, then another formula to accumulate it at detail record level, then another formula to display the variable at the group footer. In other words, I did not bother with the Crystal summary facility at all, but created my own summary facility.
While googling the problem to see what other people did in this situation, I noticed that most fixes used variations of the "shared variables and formulae" fix to get round the problem.
The problem is that I have lots of complex reports and it will take ages to replace the summarised fields with shared variables and formulae. The reports were initially tested with "Print Preview" so we did not notice this problem until the C#.Net application was ready to use them. And I can't believe that you are simply meant to ignore the summary facility and re-invent the wheel by doing it all manually.
Please tell me that there is something simple that I have been doing wrong!!! If I have not given enough information for you to answer, please let me know.
Thanks,
Anne-MarieHi, Anne-Marie;
You may be running into a common issue that is docuemented here:
[SelectionFormula|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333833393335%7D.do]
Regards,
Jonathan
Edited by: Jonathan Parminter on Mar 16, 2009 8:03 AM -
Hello,
I’ve finally managed to deploy my first guest cluster with a shared VHDX using a service template.
So, I now want to try and update my service template. However, whenever I try to do anything with it, in the services section, I receive the error:
Unable to perform the job because one or more of the selected objects are locked by another job. To find out which job is locking the object, in the jobs view, group by status, and find the running or cancelling job for the object. ID 2606
Well I tried that and there doesn’t seem to be a job locking the object. Both the cluster nodes appear to be up and running, and I can’t see a problem with it at all. I tried running the following query in SQL:
SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
but all this gives me is an error that says - conversion failed when converting from a character string to uniqueidentifier msg 8169, level 16, State 2, Line 1
I'm no SQL expert as you can probably tell, but I'd prefer not to deploy another service template in case this issue occurs again.
Can anyone help?No one else had this?
-
I am unable to remove a host from my Virtual Machine Manager 2012 R2. I receive the following error:
Error (2606)
Unable to perform the job because one or more of the selected objects are locked by another job.
Recommended Action
To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
I have already tried running the following command in SQL Server Management Studio
SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
I received this error back:
Msg 8169, Level 16, State 2, Line 1
Conversion failed when converting from a character string to uniqueidentifier.
I have also tried rebooting both the host and the Virtual Machine Manager Server. After rebooting them both, I still receive the same error when trying to remove the host.
Here are my server details
VMM Server OS = Windows 2012 Standard
VMM Version = 2012 R2 3.2.7510.0
Host OS = Windows 2012 R2 Datacenter
Host Agent Version = 3.2.75.10.0
SQL Server OS = Windows 2012 Datacenter
SQL Version = 2012 SP 1 (11.0.3000.0)Hi there,
How many hosts are you managing with your VMM server?
The locking job might be the background host refresher job. Did you see any jobs in the jobs view, when the host removal job failed?
If there is no active jobs in the jobs view when this host removal job fails, can you please turn on the VMM tracing, retry the host removal, and paste back the traces for the failed job (search for exception and paste the whole stack)?
Thanks!
Cheng -
I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.
Resolved
-
How can I select the area I want linked, to other page?
Hi,
I have been creating multiple stand alone PDF files with links to various documents within a given PDF. Up until yesterday I would select the Link Button, move my curser to the top left corner of the area to be selected, press the button and drag a box over the area I want selected. It worked great. Then BOOM, all of a sudden when I do that now it will not let me select the area I want, it will show a fixed box that appears to be snapped to a formatting line above or below the area I want. Is there a setting somewhere that might have changed?
DaveyMake sure you do not have the Snap to Grid option selected.
In Acrobat 8, it is under the View menu. -
Not able to select sales area for reference BP in CRM system
Hi All
I am not able to select sales area data for the reference customer copied from r/3 to crm sysytem even through ORg. structure is properly maintain ( Object permitted in determination is ticked).
The field " Choose sale area is subpress/grey.
Please help me for the same.Hi Kishore,
So you manage get into Sales Area Data, but when you
try to select Sales Organization you get nothing?
(click Sales Org combo but no selection appear)?
How about field Distribution Channel and Division?
I am afraid some of these fields still not properly
set/transported to CRM.
In R/3, this BP has maintained under same Sales Area
which mapped in CRM Org Model right ?
What is role in CRM when you open the BP?
Have you check if there is any error in middleware
when downloading BP data to CRM?
Cheers,
Gun. -
How do I select an area on a clip in a timeline and copy and paste it ..
How do I select an area of a clip in the timeline and copy and paste the video track only, several times on the tracks just above it?
Thank You in Advance,
SebastianSelect the range selection tool (ggg is the keyboard shortcut), then drag through the clip to select the area you want to copy then paste... it will paste only what's selected.
Jerry -
"The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode
I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:
<Field Name="ReadOnly">FALSE</Field>
No luck.Victor PalmaUnfortunately it did not work. I also developed the code and access the field and checked its property called "ReadOnlyField" which is already set to false.
Below is the xml that i am using. Can you please share the xml that you had used?
<?xml version="1.0" encoding="utf-8"?>
<FieldTypes>
<FieldType>
<Field Name="TypeName">MyCustomField</Field>
<Field Name="ParentType">Text</Field>
<Field Name="TypeDisplayName"> My Custom Field</Field>
<Field Name="TypeShortDescription"> My Custom Field</Field>
<Field Name="AllowBaseTypeRendering">True</Field>
<Field Name="ReadOnlyField">False</Field>
<Field Name="UserCreatable">TRUE</Field>
<Field Name="ShowInListCreate">TRUE</Field>
<Field Name="ShowInSurveyCreate">TRUE</Field>
<Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
<Field Name="ShowInColumnTemplateCreate">TRUE</Field>
<Field Name="FieldTypeClass">My Assembly Information goes here</Field>
</FieldType>
</FieldTypes> -
SAP Query selection texts are missing
Dear All,
I have a problem with selection texts when running a query.
There are two systems: development and test. In the dev system selection texts are displayed correctly but in the test system I got only something like:
SP$00001
SP$00002
SP$00003
SP$00004
%LAYOUT
I also transported the User group, the Infoset and the Query but this did not help.
Please, advice.
Thanks in advance and regardsJust want to add that I searched the web to find solution and the only relevant item I found was:
http://www.jt77.com/development1/programming-19276.html
However no solution found -
Resizing part of image and selecting a area
Hi Guys ,
I'm building a web application ,One of my requirements is to resize a image ,I could find out some open source Javascript code ,It works .
The problem i have is that i need to resize a part of the image,Not the whole image ,So basically i need to select a area which i need to resize and drag it so that it will get resized .
I'm wondering if there is a way to do this in Java .
I work on java but i'm a total newbie to imaging in java ,Can i achive this in Java applets ,ie. i should be able to select a area and resize only that part of the image.
what technology do you think i should use to do this stuff.
Any help would be greatly appreciated .
Thanks in advance
ChetanHi ,
Thanks for your reply ,I haven't had a chance to work on these API'S before ,I'm still deciding what kind of API to use ,So my question would be ,Can i achieve this stuff using some of the JAVA API'S.
Thanks in advance
Chetan -
how do you change the minus symbol on the quick selection tool to a plus symbol? im finding it difficult to select an area.
You can use the Alt/Option key to toggle between add + and subtract -
http://helpx.adobe.com/photoshop/using/making-quick-selections.html
First though select the Add to Selection in the tool options bar for that to work. -
How to unselect magic wand tool to select another area?
This is so silly but it is driving me nuts. I used to be able to select an area with the Magic Wand tool and then when I was done, click on something else and it would "deselect." But now it doesn't do that anymore. Did I change a setting somehow by accident or did they do an update that changed that? I hate having to do Ctrl D to deselect it when I used to just click on something else.
Thanks for your help. I actually checked on the icons where you mentioned and the one I wanted was the "new selection box" I had "add to selection" checked and so it wouldn't unselect when I went to new area. So your answers helped! Thanks so much.
Maybe you are looking for
-
CNTL_ERROR while running a report in background mode
Hi, I am running a report in background on daily basis. I am using cl_gui_custom_container class here and calling the constructor of this class. I am getting a CNTL_ERROR exception at this point. But if i run the same report directly, it is not throw
-
I am trying to find a way to have a folder set up so that when I add to the folder(on the Desktop) a copy of the folder is also updated on an external hard drive. So I can have two copies of the contents of the folder, one on the desktop and one on t
-
Can I upgrade my MacBook Pro to 8 GB?
It is an early 2011 15" MacBook Pro, System Profiler says it's a "MacBookPro8,2". Memory shows 2 banks with 2GB DIMMs, so presumably the upgrade involves removing these and replacing them. Oddly, it says ECC: Disabled, which was a surprise. Also, I'm
-
Hi - I have a web page that I've developed from a template in Dreamweaver. The page is loading perfectly in Safari and IE, but there's a small problem when using Firefox. I think the problem is in the FLASH video I have on the page. The video seem
-
We saw this error in the log file, while running the application module, having two customize view objects added to it. java.sql.SQLException: invalid name pattern: FUSION_RUNTIME.FND_TABLE_OF_VARCHAR2_255 at oracle.jdbc.oracore.OracleTypeADT.ini