Is this possible in Developer 6 ?

Hi
I am trying to build this piece of functionality in Developer 6.
It's been done in PowerBuilder before and we are converting the
application to Developer.
1. User clicks on a button on the screen.
2. The cursor changes into a cross
3. User can now draw a rectangle anywhere on the screen (with
the
'cross cursor' - click, drag the mouse to draw the rectangle (you
should see the rectangle lines as the mouse is moved, un-click.
4. Once, the rectagle is drawn, I would like to keep the X,Y
coordinates of the rectangle - top left corner (X,Y) and bottom
right corner (X,Y)
Thanks
Julian.
null

I can give you a couple of possibilities but I'm not sure either
one serves your purpose.
The first is the Show Palette property on an image item. When
this is set to yes a tool palette is displayed with the image at
runtime. One of the tools is a selection box similar to what you
describe. This is applicable only within an image item so I
doubt it will help.
The other option I can think of is to use event triggers to
create and display a box on screen. This solution uses a text
item with the background color set to the same as the canvas and
no bevel so it appears as a single line box. Initially the
item's visible property is set to No. The start and stop
coordinates of the box are stored as parameters and a parameter
is used to set a flag for tracking the mouse movements and
resizing the box or not.
Items Used:
YOUR_BOX Text item in data block YOUR_BLOCK.
STOP_X, STOP_Y, START_X, and START_Y are Parameters of data
type number.
TRACK is a Parameter of data type char.
WHEN_MOUSE_DOWN trigger
BEGIN
:PARAMETER.TRACK := 'Y';
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', VISIBLE,
PROPERTY_TRUE);
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', POSITION,
:SYSTEM.MOUSE_X_POS , :SYSTEM.MOUSE_Y_POS);
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', WIDTH, 1);
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', HEIGHT, 1);
:PARAMETER.START_Y := :SYSTEM.MOUSE_Y_POS;
:PARAMETER.START_X := :SYSTEM.MOUSE_X_POS;
SET_APPLICATION_PROPERTY (CURSOR_STYLE , 'CROSSHAIR');
END;
WHEN_MOUSE_MOVE Trigger
DECLARE
v_width number(3);
v_height number(3);
BEGIN
IF :PARAMETER.TRACK = 'Y' THEN
v_height := :SYSTEM.MOUSE_Y_POS - :PARAMETER.START_Y ;
v_width := :SYSTEM.MOUSE_X_POS - :PARAMETER.START_X;
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', HEIGHT,
v_height);
SET_ITEM_PROPERTY ('YOUR_BLOCK.YOUR_BOX', WIDTH,
v_width);
END IF;
END;
WHEN_MOUSE_UP Trigger
BEGIN
:PARAMETER.TRACK := 'N';
SET_ITEM_PROPERTY ('DEMO1_DETAIL.BOX', VISIBLE,
PROPERTY_FALSE);
:PARAMETER.STOP_Y := :SYSTEM.MOUSE_Y_POS;
:PARAMETER.STOP_X := :SYSTEM.MOUSE_X_POS;
SET_APPLICATION_PROPERTY (CURSOR_STYLE , 'DEFAULT');
END;
This solution gives you a box on screen with crosshair cursor
that you can resize and have access to the start and end
coordinates but it may not give you the display you want as far
as being transparent. It would be easy enough to enable this or
disable it based on pressing a button.
Good Luck!
Julian (guest) wrote:
: Hi
: I am trying to build this piece of functionality in Developer
6.
: It's been done in PowerBuilder before and we are converting
the
: application to Developer.
: 1. User clicks on a button on the screen.
: 2. The cursor changes into a cross
: 3. User can now draw a rectangle anywhere on the screen (with
: the
: 'cross cursor' - click, drag the mouse to draw the rectangle
(you
: should see the rectangle lines as the mouse is moved, un-click.
: 4. Once, the rectagle is drawn, I would like to keep the X,Y
: coordinates of the rectangle - top left corner (X,Y) and
bottom
: right corner (X,Y)
: Thanks
: Julian.
null

Similar Messages

  • Even if we have bought the advance version of Adobe FormsCentral, is it possible to receive via e-mail the completed form in .pdf? If not, is it possible to develop this option? How much would it cost?

    Even if we have bought the advance version of Adobe FormsCentral, is it possible to receive via e-mail the completed form in .pdf? If not, is it possible to develop this option? How much would it cost?

    I know of no way to do this with Reader or XML.

  • Is this possible to run a program on one server(e.g. development server) on

    Is this possible to run a program on one server(e.g. development server) on another server via remote log on, or any other such technique

    Hi Surbhi,
    RfC are remote function calls through which u can remotely access other system.
    RFC
    Purpose
    Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    Synchronous RFC
    The first version of RFC is synchronous RFC (sRFC). This type of RFC executes the function call based on synchronous communication, which means that the systems involved must both be available at the time the call is made.
    Transactional RFC (tRFC)
    Transactional RFC (tRFC, also originally known as asynchronous RFC) is an asynchronous communication method that executes the called function module in the RFC server only once. The remote system need not be available at the time when the RFC client program is executing a tRFC. The tRFC component stores the called RFC function, together with the corresponding data, in the SAP database under a unique transaction ID (TID).
    If a call is sent, and the receiving system is down, the call remains in the local queue until a later time. The calling dialog program can proceed without waiting to see whether or not the remote call was successful. If the receiving system does not become active within a certain amount of time, the call is scheduled to run in batch.
    tRFC is always used if a function is executed as a Logical Unit of Work (LUW). Within a LUW, all calls are
    ·         executed in the order in which they are called
    ·         executed in the same program context in the target system
    ·         run as a single transaction: they are either committed or rolled back as a unit.
    Implementation of tRFC is recommended if you want to guarantee that the transactional order of the calls is preserved.
    Disadvantages of tRFC
    ·       tRFC processes all LUWs independent of one another. Due to the amount of activated tRFC processes, this procedure can reduce performance significantly in both the send and the target systems.
    ·       In addition, the sequence of LUWs defined in the application cannot be kept. Therefore, there is no guarantee that the transactions are executed in the sequence dictated by the application. The only guarantee is that all LUWs are transferred sooner or later.
    Queued RFC (qRFC)
    To guarantee that multiple LUWs are processed in the order specified by the application, tRFC can be serialized using queues (inbound and outbound queues). This type of RFC is called queued RFC (qRFC).
    qRFC is therefore an extension of tRFC. It transfers an LUW (transaction) only if it has no predecessors (in reference to the sequence defined in different application programs) in the participating queues.
    Implementation of qRFC is recommended if you want to guarantee that several transactions are processed in a predefined order.
    RFC: Data Transfer
    All RFC types are transferred by means of CPI-C or  TCP/IP. They constitute a form of gateway communication. 
    HOPE I ANSWERED TO UR POINT
    reward if helpful
    thanks and regards
    suma

  • Is it possible to develop the control charts in WAD.

    Hi Gurus and Experts
    We need your suggestions to go futhure with our requirement.
    Right now KPI's are currently displayed in graphical form with the
    ability to drill down into WO's( Work orders) from the graph page. our
    new requirement is to get exactly the same set of information captured
    and presented in control chart form. This is to be an adjunct. to, not
    replace, the existing graphical set of data. Upper and lower control
    limits will be set initially by the business, and the same drill down
    functionality should be available from the control chart. The charts
    can be displayed seperately from the exisiting set of charts if this
    makes it easier.
    Can you please suggest us whether is it possible to develop the control
    charts and also have the functoinalities of the existing dashboards
    (example drill down of WO's using the control charts) in WAD or through
    viusal composer
    Waiting for your responses..
    Thanks
    Ravi...

    Hello dj_page!
    Thanks for the answer, but I know this already.
    My problem is, that the small picture in the side panel and the histogram in LR5 are bigger than in LR4.
    The two pictures are showing the difference between the versions.
    On the left hand (LR4) you can see a smaller preview and histogram than on the right hand (LR5).
    In each version you can change the size of the side panel only as small as the preview-window is.
    The pictures are also showing the smallest size of the side panel in each version.

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • I would like to send a message to my personal Apple ID from my personal Website? Is this possible?

    I've been building websites for some time. I've started re-coding everything in HTML 5 using CSS3. I would like for my site to work for me in the best possible way.  I've got an iPad, iPhone & well just about every iDevice you can think of. I would like for my clients to message me directly from my website. I noticed all "imessages" are sent to an Apple ID (this is linked to my current email). I would like to setup my website so that people can imput data into a form & it sends to my Apple ID when they hit submit. Almost like a "mailto:AppleID" . I was also reading that each phone number can have up to 2 apple ID's associated with it. So I would like to make a new id for my website.(that way when i get messages from my website I can know theyre from my website.)  Then my personal Apple ID.
    Has anyone created an API for this? I noticed the information is somewhat "hush" on iMessage development?
    <form>
    <input type="email" name="emailaddress" placeholder="[email protected]" required />
    </form>
    I know I can email and it's great and all. But I would like to get a text message because I like getting the notifications. I also like knowning that my website is producing leads. I think it'd be great to get your compnay involved with HTML development.
    <input type="appleid" id="your ID here" />
    I would like to use apple if possible to develop a user friendly API. This would be developed for website owners to link their Apple ID with their website.
    Any help would be appreciated.
    -Blake

    Hi,
    I have my Contact Testers page which has this HTML
    (opening tag here) a href="aim:goim?screenname=ralphjohnsr&message= Hi+!,+I+came+from+your+website,+ralphjohnsuk." (closing tag here) (opening tag here) img align="right" alt="Webmaster iChat Online Status Indicator" border="0" src="http://big.oscar.aol.com/ralphjohnsr?on_url=http://www.ralphjohns.co.uk//images/ RalphOn.gif& off_url=http://www.ralphjohns.co.uk//images/RalphOff.gif" /(closing tag here)(oen tag)/a(close tag) 
    I have added some linebreaks to make it fit the page here.
    This is obviously done using a valid AIM login name and the a href ="aim:goim? will launch an AIM Client and Message me.
    As you say you would create a New Apple ID then this would be iCloud and an AIM valid Name (keeping the Password to 16 characters or less).
    I am not aware of an iMessage equivalent that would do this to a Phone or iPad or to the Messages Beta as an iMessage.
    To be clear.
    What this HTML does is launch an AIM client (App) on the computer or the person viewing my page and then start a chat with the IM included in the HTML.
    To do that it queries the AIM servers as to whether I am On line or Line and show a pic relevant to that status.  (it does not stop Off Line IMs but I am set up for that.  It also does not say if I am Available or Away.)
    Edit to get html to show (not sure how to work this Raw code thing which dispalyed in the Reply wysiwyg screen.
    8:29 PM      Saturday; March 31, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was edited by: Ralph Johns (UK)
    Message was edited by: Ralph Johns (UK)

  • Oracle forms is this possible?!?

    hi, all.
    I am a java developer and i am not familiar with oracle forms 10g.
    Recently i had a project about digital signing of web forms(on java). So the idea was: We have applet that runs in the client browser, it uses the JSObject to collect all input fields and it's values from CUSTOM web form and create xml document, that must be signed. This applet is like a lib.
    I must do the same thing with a oracle form.
    Is this possible: collect the oracle form's items on the client??? The form is custom i.e. unspecified items and count items.
    If this is possible the next step is to verify the signed xml on the server. So how does oracle forms work. Is there a server side. What is the architecture? Could the xml be passed to the server and how the oracle form's items must be accessed on the server(i need them to verify the xml).
    I will be glad if you could help me soon.
    Excuse me for my bad english :(.
    Best regards.

    What do you mean? :( As i said i am not very familiar with oracle forms.
    Here is simple scenario of usage:
    Oracle developer creates a oracle form. In some way i have to deliver for example jar. He adds it to to his project and in some way specifies that that jar signes his form.
    The form is in module so i guess i have access to it.
    What i learned for now is that there are VBeans that could help to do this(item collection). I found that this beans are graphical components too i.e. we can place awt Componets in them, but may be i don't need to use them. I read that the VBean is on the middle trier, but when i wirte JOptionPane.showMessage(..) it is displayed on the client i can't understand why. I need to collect the items in the form not in the bean.
    The question is can i collect in some way the form's items on the client. Oracle form runs in some applet could this help me? Totally confused. The documentation for oracle forms is very unclear for me.
    I forgot to say that there are some classes in the oracle forms lib like "RadioButtonItem", TextFieldItem and so on. Are theze coresponding to form items? May do some connection between them?!?
    Edited by: user9536806 on Oct 1, 2008 3:06 AM
    Edited by: user9536806 on Oct 1, 2008 3:11 AM

  • I have 2 displays 1920 and 3840, use 1920 for every day work, some pages I would like to open in 3840 display, is this possible?

    I have 2 displays 1920x1080 and 3840x2160,
    I use 1920x1080 for every day work, some pages I would like to open in or redirect to the 3840x2160 display, is this possible?

    No, but there is a developer tool that you can add a custom size to. It is called Responsive Design View.

  • Is there any possibility to develope java application for IPhones

    Is there any possibility to develope java application for IPhones

    921326 wrote:
    Just look to the next thread!I did that after I replied to the last person to ask this question. I spotted this thread:
    Developing iPhone apps with JavaFX 2 (Demo)
    Not much there, but apparently people are trying to hack it together using JavaFX 2 already. I believe I read an article where Oracle itself had given a presentation about a JavaFX2 app on an iPhone; I believe the gist of it is that they want to make it so you can bundle the Java runtime with your application, which makes it legal to sell a Java application through the appstore.

  • I have a ibook running on 10.3 and I want to update it to 10.4 or above,is this possible ?

    I Have an ibook running on 10.3 and I want to update it to 10.4 or above ,is this possible ?

    Firstly, can you run it?
    Minimum System Requirements for OS X 10.4 Tiger:
    A PowerPC G3, G4, or G5 processor
    Built-in FireWire
    At least 256 MB of RAM
    DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
    At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools
    More information here:
    http://docs.info.apple.com/article.html?artnum=301341
    Secondly, you may find it difficult to get. Look on eBay or Amazon for a black retail install disk. Don't be surprised at the price.
    Thirdly, your iBook is a decade or more out of date and officially obsolete. Is it not time to quietly retire it and get something more modern?

  • Is it possible to develop tookit that provides features missing in profilel

    Hi,
    Is it possible to develop a toolkit that makes features missing in MIDP available to application developers? For eg, I want to develop a tookit targetted at the game developers.. how can i do this? any clues?
    Thanx
    Ruchika

    Thanx for the help.
    I undertsand that it is possible to write a toolkit on top of a profile, but is it possible to write a toolkit that sits at the same level as the profile... (for eg: some additional features) and allow the application to use features from both the profile and the custom toolkit?
    My best guess on this is that only the device manufacturers can do such a thing but i am not sure about this. Any clues?
    Thanx

  • Form - Expand/Collapse sections to simulate website, is this possible?

    Hello,
    My FLA file is based in CS5 with AS3. I posted this in the AS3 forum but if it can be done without AS3 then I am open to that possibility as well.
    I am creating a non-functioning form, meaning I just need it to look like a form but the functionality doesn't need to work. Atleast not in this stage of development.
    The functionality I need basically looks like the following:
    - http://static.geewax.org/checktree/index.html (What would this be called in the flash world?? my google search terms have not been successful)
    Where:
    1. Clicking the arrow expands a section.
    2. The arrow changes to a different arrow when the section is expanded.
    3. It will be inside of a white box, the white box needs to resize to either shrink or get taller when a section is expanded or collapsed.
    One section will be checkboxes, and one section will be radio buttons.
    Thank you very much in advance . I look forward to exploring into how to accomplish such a thing.
    Message was edited by: da4seen

    Okay,
    I know I may be going at this completely wrong but posting my code here so someone can give me feedback so far and point me in directions where I need improvement.
    So far this code:
    1. Expands/Collapses the 1st section, and properly moves the 2nd section to the correct position.
    My problem so far is:
    1. The contents of the 2nd section doesn't update to the correct position when section 1 expands/collapses.
    import fl.controls.CheckBox;
    import fl.controls.RadioButton;
    //Set Variable for collapse position
    var collapsePosition:int = 0;
    // Tab1 Group 1
    var tab1_gp1_main:CheckBox = new CheckBox();
    var tab1_gp1_op1:CheckBox = new CheckBox();
    var tab1_gp1_op2:CheckBox = new CheckBox();
    addChild(tab1_gp1_main);
    tab1_gp1_main.move(-110, -300);
    tab1_gp1_main.width = 120;
    tab1_gp1_main.label = "Landscape";
    // Tab1 Group 2;
    var tab1_gp2_main:CheckBox = new CheckBox();
    var tab1_gp2_op1:CheckBox = new CheckBox();
    var tab1_gp2_op2:CheckBox = new CheckBox();
    addChild(tab1_gp2_main);
    tab1_gp2_main.move(-110, 20 + tab1_gp1_main.y );
    tab1_gp2_main.width = 120;
    tab1_gp2_main.label = "Performance";
    // Section Click Listeners
    tab1_gp1_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    tab1_gp2_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    function sectionHandler(event:MouseEvent):void
        switch (event.currentTarget)
            case tab1_gp1_main :
                switch (tab1_gp1_main.selected)
                    case true :
                        addChild(tab1_gp1_op1);
                        addChild(tab1_gp1_op2);
                        tab1_gp1_op1.move(-100, 20 + tab1_gp1_main.y);
                        tab1_gp1_op1.width = 120;
                        tab1_gp1_op1.label = "test 1";
                        tab1_gp1_op2.move(-100, 20 + tab1_gp1_op1.y);
                        tab1_gp1_op2.width = 120;
                        tab1_gp1_op2.label = "test 2";
                        collapsePosition = tab1_gp2_main.y;
                        tab1_gp2_main.move(-110, 20 + tab1_gp1_op2.y);
                        break;
                    case false :
                        removeChild(tab1_gp1_op1);
                        removeChild(tab1_gp1_op2);
                        tab1_gp2_main.move(-110, collapsePosition);
                        break;
                    default :
                        trace('Something is wrong');
                break;
            case tab1_gp2_main :
                switch (tab1_gp2_main.selected)
                    case true :
                        addChild(tab1_gp2_op1);
                        addChild(tab1_gp2_op2);
                        tab1_gp2_op1.move(-100, 20 + tab1_gp2_main.y);
                        tab1_gp2_op1.width = 120;
                        tab1_gp2_op1.label = "test 1";
                        tab1_gp2_op2.move(-100, 20 + tab1_gp2_op1.y);
                        tab1_gp2_op2.width = 120;
                        tab1_gp2_op2.label = "test 2";
                        break;
                    case false :
                        removeChild(tab1_gp2_op1);
                        removeChild(tab1_gp2_op2);
                        break;
                    default :
                        trace('Something is wrong');
                break;
    I have the above AS code inside a movieclip timeline, not sure if this was proper or not but I was trying to keep some code away from my long AS statements on my main timeline.

  • Is it possible to develope an applicatio​n in Atmel AT91SAM926​3 using Labview

    Hi friends,
     I have exp in labview automation but totally new in Embedded applications . I have one Atmel AT91SAM9263 EK (including touch screen disply) borad with m. is it possible to develop applications using labview. for this purpose which module we required. From where i can start. please help me for that.
    thanks,
    niks

    You have multiple options:
    Since, it is supported by Keil (Atmel AT91SAM9263) you can follow the LabVIEW for ARM Microcontrollers porting guide (http://zone.ni.com/devzone/cda/tut/p/id/6994). You may be especially interested how Phytec board has been ported.
    Also, if you want other RTOS, you can use Microprocessor SDK and read again about Phytec (http://digital.ni.com/manuals.nsf/websearch/AB597F​3FD5D9011886257448005F4A0C).
    Eiso-risky:
    Even if you posted two times, I shouldn't click the button because this is a ARM926EJ-S and not Cortex-M3.
    Would it were a Stellaris or SAM3U ..., but where is such a button?

  • Is this possible/advisable

    Hellow
    We have a running Oracle database 8.0.5 on Sun Microsystem Server (Enterprise 5500). We need to migrate this data into Oracle 10g. Is this possible or advisable to install Oracle 10g Standard Edition on the same server, so parallely users can work on 8.0.5 and we can carry on our development work on 10g and later on completely switch to 10g?
    Regards

    If you don't have access to an optical drive, purchase the Mac OS X 10.7 thumbdrive and install it onto a blank partition. There is no 10.7 download outside of the Mac App Store.
    (67092)

  • I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    If you go to Settings > iTunes & AppStore , you can sign out from your account, and sign in with the one you've used to purchase apps.This will not remove any apps you already have on it.
    Then you can go to AppStore and download apps you've purchased (either via "Purchased" button in "Updates", or simply search for them and download them.
    That way you can have multiple accounts' apps on your iPad. When updating, you will be prompted for the credentials for account you've purchased given App with.

Maybe you are looking for

  • Shipping customized BOL report needs to be printed from 'Print BOL' button

    Hi All, We have requirement whereby Our customized Bill of Lading (BOL) report should be printed when 'Print BOL' button is clicked on shipping transaction form. Can this be achieved with any setup change? (we would like to check this option before g

  • Itunes Unable to Load Dataclass info from Sync Services and unable to back up.

    Community please help. I am running Windowns 7 and all of a sudden i cannot sync either one of my two iphones or my ipad. The first error i get states: "iTunes was unable to load data class information from Sync Services. Reconnect or try again later

  • Problem deleting music on iOS 7

    I'm sure this question has been asked before, but i can't seem to find any information to help me. A while back I bought some music from the store which I don't want anymore and I had as a matter of fact deleted it from the iPhone, then when I update

  • Load Balancing for Oracle Apps in linux

    Dear all, I need anykind of information for load balancing (how to do it - architecture) for oracle application in linux environment. Just for info, the database will be on linux too using RAC (3 machines). I have 4 machines to be use as application

  • Bank key/account number

    Hi Experts, I have an issue I have one house bank under house bank i have 3 bank accounts while doing  f-58, i have to select 1 bank out of 3. could you please tell me the solution.