Change the size of a window that is already open

Hi all

Is anyway to change the size (800 x 480), a window that is already open? The following code opens the window:

HAPwindow2 = window () .new ("Haptek_player")
tRect = HAPwindow2.sourceRect
HAPwindow2.rect = HAPwindow2.sourceRect.offset (190,0) - d.left, d.top
HAPwindow2.open)
end

I know how to change the size of the video in the window (window("Haptek_player").movie.sprite (1) .rect = rect (0, 0, 800, 480)) but I don't know how to change the size of the window itself. Any ideas?

Here's the answer:

on haplayer2

tRect = window("Haptek_player").sourceRect.offset (190,0)

If _player.windowPresent ("Haptek_player") then

Window ("Haptek_player"). Rect = tRect + rect (0,0,624,280) - left, top, right and bottom 400 165 - tRect.offset (190,0)
Window ("Haptek_player"). Movie.Sprite (1) .rect = rect (0, 0, 1024, 600)

end if
end

624 280 values come if you subtract the resolution you want to perform from the original window dimensions (in my case 400 x 320).

Tags: Director

Similar Questions

  • How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    Hi CKWAZTRANSINC,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> Page Display menu-> set your required Zoom percentage.

    Click OK to confirm the change.

    Restart the Acrobat Reader DC to test.

    Let me know if it solves your problem.

    Kind regards
    Nicos

  • Change the size of a window in a "Layout tab.

    Is it possible for me to change the size of the window of each paw?

    On this page of my site, you have 3 tabs, 'Theatre', 'Opéra' and ' music / dance.

    http://www.agoulding.com/AMG-productions-projection-designs.html

    Tab 'Théâtre' is fine, but the other two have space for their photos because there isn't as much in them. Muse doesn't let me reduce the size of the windows in these tabs, as it appears to need to keep the size of the largest window.

    Is there a way to get around this?

    See you soon

    Hello

    Unfortunately, it is not possible at the moment, it is not possible to adjust the height for each panel separately. A related thread can be found here that a content panel tabs container height is adjusted to the content of the individual tab.

  • How to change the size of fonts Windows 7.

    Original title: HP 300 series

    How can I change the font size in my 300 HP. Text is so small, that I have a hard time reading?

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you want to change the font size.

    I suggest to try the steps in the Microsoft Help Articles below and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows/change-Windows-fonts#1TC=Windows-7

    http://Windows.Microsoft.com/en-us/Windows7/make-the-text-on-your-screen-larger-or-smaller?v=t

     

    You may consult:

    http://Windows.Microsoft.com/en-us/Windows7/change-your-font-settings

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • How can I change the name of a bookmark that's already in my menu other than to delete it and start again.

    I have a number of bookmarks that are long and have misleading titles because I forgot to enter a shorter more concise name when I first set bookmark them. However, I can't find a way to rename the other bookmarks that deleting the current and bookmarking this time change the title to something I recognize.
    For example I have bookmarked Ebuyer and in my bookmarks list it says, "laptops cheap, etc, etc." all I want is 'Ebuyer. I realize that I can delete this bookmark and save it again and this time change the name at the beginning.

    Right-click on the bookmark, click on 'Properties' new 'name' type click Save.

  • Change the color of a label that is already made

    Is this possible? The TextStyle of AbstractTextControl definition is read-only. The label does not seem to have any method to repaint.

    At the moment I'm to create two identical labels and hiding one at first, then when I "change the color of the label" I hide my visible label and put my only invisible in the visible. I think that making two labels is probably unnecessarily expensive (even if it does not solve the problem). Can anyone think of a better way to do it?

    You can inherit from Label. Then, you can call Label. textStyle () which returns a pointer to the bb::cascades:TextStyleDefinition. Then, you can call setColor() to set the color. It should work. I have never done this, but the UI components auto update even if changed in C++.

  • How can I change the size of the window of my second, but not my main

    I just got a new system.  With Vista, I like the size of my main window but when I go to play games they are too small.  How can I change the size of these windows only?

    Pogo.com put the window solution for their games. The easy way to make larger screens is simply by changing your screen resolution. See this link

    http://windowshelp.Microsoft.com/Windows/en-us/help/0386b009-5F30-45c7-80c8-ff0395cc24091033.mspx

    I hope I helped!

    jlluitj

  • Change the size of the Application BPM window

    Hello

    At the launch of a request for BPM workspace the human task opens in a new window, is there a way to set the size of this window, when it first opens?

    Thank you.

    I could not understand how to do this via .css, but if anyone wonders you can do it easily just using Javascript with something similar to the placed next



    window.resizeTo (1200,1200);

  • Can I change the size of a jpg in an another jpg?

    I have PES 9 on XP with SP3.

    My wife has a business card as a jpg.

    On the right side of the card is a picture of a painting of a dog she did.

    She wanted to change this image.

    So I used the rectangular selection tool to select the image existing and then deleted.

    Then I opened the new jpg in a second window PSE.

    Do you have a Select/all.

    Switch to the window with the map.

    Do you have an editing/paste in the selection.

    Well, the new image went to the place where it belongs.

    But I need to change the size of it so that it will fill the entire selection.

    At the moment it seems to be centered in the selection and about 1/2 the size I need.

    Any ideas on how should I proceed? Or a better way to do it from the beginning?

    Thank you!

    Click on the move tool to drag your image into position.

    Use the handles to corner of the rectangle enclosing for scale - hold down shift to maintain proportions.

  • Change the printer to an email you have already created on connected HP?

    Whenever I re - install the drivers / software for my 7510 Photosmart all-in-one, as the time where to find a new PC or reinstall Windows, I have to go into HP connected on the web and 'add a device '. After that, it makes you choose an email address to assign to your printer. From what I see, you cannot use a printer e-mail address that you already created.  And you cannot go back connected HP and change the email of your printer that you already created - it gives you a "taking" error (Well, of course it is taken - by me!)

    See picture attached for clarification.

    Of course, I tried to submit a request for assistance and sent an e-mail after that my product is out of warranty, I knew, but connected HP is relatively new and this seems to be a bug, unless I'm missing something.

    Thanks for any info, someone has.

    Sorry, found my response on another thread - except connected HP is referred to as ePrint...

    Could not find a way to remove this post.

  • Change the size of the window

    Hello

    I created a VI using LV8.0... When I run that in my computer screen size is OK. But when I try to run the VI on other computers and laptops, screen size is smaller, window of my VI fits on the screen... I'm unable to see all the controls and indicators. Can someone tell me how to change the size of the window so that it works on any computer with a std size...

    Concerning

    Nitzy

    Nitzy,

    You can configure your façade elements to resize with the façade. And you can set up your Panel before be enlarged, which means ' an application full screen. Together, these two settings may solve your problem.

    But be aware that sizing is no "analog" process, so propably you meet the gaps and overlaps between your controls.

    hope this helps,

    Norbert

    [EDIT] The two settings are in the settings of VI (Ctrl + I).

  • Change the size of window of dialogue of file Express VI

    I use the dialog file Express VI for opening a file.  Opens the VI mode full screen.  I want her to be open in a small window that is similar to my other applications Win7.  It doesn't seem to be a way change this property even after conversion to a standard under VI.  Does anyone know of a VI integrated to open files when the size of the window can be set?  Thank you

    If I open the file dialog box with the Express VI of FileDialog and then double-click the title bar to make it full-screen and then close the dialog box file, next time I open it, it opens to full screen. that is, it seens to remember the size between calls.

    Try to open the file dialog box, resize to a smaller size and its closure then, to see if he remembers so the smaller.

  • How to change the size of taskbar buttons? I did everything that I've seen proposed in these pages, and nothing works.

    How to change the size of taskbar buttons?  I did everything that I've seen proposed in these pages, and nothing works.

    The buttons of programs open in the taskbar are tiny and square.  I want them to be of normal size (by default).  I have locked and unlocked the task bar.  I moved the "three vertical lines composed small points."  Nothing works.

    If you want to enlarge all the icons in the taskbar, and then increase the point size of buttons of legend to a larger number of advanced appearance settings.
    Follow these steps:

    1. click on start, Control Panel, personalization, window color and appearance.
    2. on the window color and appearance, click "Classic appearance open for more color options" (link below).
    3. in the box "Appearance settings", click on the button "Advanced".
    4. in the box "Advanced appearance" under "Item:" dropdown, choose "buttons".
    5 set your size
    6. click on the OK button.
    7 on the "Appearance settings" box, click on the button 'Aplly', wait.
    8. click the OK button if you are uncomfortable with the size to change, or just click on the "Advanced" button to set the size.

    I hope I could help

  • After changing the size of the photo to be attached to the e-mail, windows does not open an e-mail message

    I CLICK ON THE WINDOWS PHOTO GALLERY... SELECT THE PHOTO... CLICK E-MAIL ON THE TOOLBAR... CHANGE THE SIZE OF PHOTO... CLICK JOIN... WINDOWS DOES NOT OPEN A NEW E-MAIL MESSAGE. WHEN I GO TO MY EMAIL THE PICTURE HAS CHANGED BACK TO THE ORIGINAL SIZE

    Which works with Windows Mail, Windows Live Mail or Outlook.

    Did you according to what is in the Email above programs that you use the default Email program?

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-which-programs-Windows-uses-by-default

    Change the programs that Windows uses by default

    See you soon.

    Mick Murphy - Microsoft partner

  • I don't know how to change the size and quality of the text on the screen on Windows 7

    I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen.  I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want.  The text in clear 'wonderful' thing is just terrible.  When I go through the 4 steps I see no text boxes which make the text nothing better.  All options are terrible, so the result on screen is too terrible.  When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation?  I must mention that my screen/monitor is 2006 - I need to buy a new one?  How much is this Windows 7 is going to cost me, or maybe I should go back to XP!

    I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions.  I'm not too smart with all this new technology as I fell into it very late.  I am now in my 60s and only started using a pc when I was over 50 years so...  In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys.  I had recently changed in XP to Windows 7.  However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab.  Very basic, and the first question asked the technician (Lady) was "what size is your screen?  Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else.  I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.

    Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small.  Clarity is all!

    Thank you all once again!   Best regards, Blondie blue.

Maybe you are looking for