Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on 

display hbox in center of datagrid

Hi guys

I have a editable datagrid with one editable column. On KEY_UP event on that editable column i am displaying a HBox. I want to display the HBox on the center of the screen(on top of datgrid). any idea how i can do that?

Is there an attribute on HBox i can use?

thanks
Apache Flex

Avatar of undefined
Last Comment
Jay Roy
Avatar of dgofman
dgofman
Flag of United States of America image

How about if you will use

PopupManager API's

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/managers/PopUpManager.html

PopUpManager.createPopUp(), and PopUpManager.centerPopUp() methods


Avatar of Jay Roy
Jay Roy
Flag of United States of America image

ASKER

Ok .Also can I put x and y coordinates in popupmanager . If I want to put the popup at x=10 y=10
is it possible?
Thanks
Avatar of dgofman
dgofman
Flag of United States of America image

wait , you asking how to put on the center if you want to control yourself do not use centerPopUp API.
Just sen manually x and y
Avatar of Jay Roy
Jay Roy
Flag of United States of America image

ASKER

can you show me an example with setting X and Y for popupmanager?

when i try like this it works
PopUpManager.centerPopUp(dataGrid);  

i want to set x and y coordinates to popupmanager.

thanks
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Jay Roy
Jay Roy
Flag of United States of America image

ASKER

Apache Flex
Apache Flex

Apache Flex is a highly productive, open source application framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops and devices (including smartphones, tablets and television). It provides a modern, standards-based language and programming model that supports common design patterns suitable for developers from many backgrounds. Flex applications can be deployed to the Adobe Player in the browser, Adobe AIR on desktop and mobile devices or to native Android, iOS, Windows or Mac applications.

4K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo