How to locate a NumEditor NumPad
GuGa
✭
Hello,
I'm trying to use a NumEditor object from FlexPendant SDK, but when I click on NumEditor box, the NumPad window appears partialy hide, as I show in the picture attached. In this way, I can't click on OK or Cancel buttons
Does anyone know how to locate the NumPad window on the screen?
Or has anyone an alternative solution?
Thanks,
BR/GuGa
======
GuGa
GuGa
0
Comments
-
Hola Guga,The NumPad is taking the best position based on the control's parent. Is this a problem across all your application, or just in this screen?Saludos ...Carlos Martinez
ABB0 -
Hello Carlos,I'm only using NumEditor control in this screen, twice. At the top of the screen, where the NumPad appears more or less OK (a little bit hide at the bottom) and the showed on the picture, where OK and Cancel buttons are hidden.I'm working with FlexPendant SDK 5.13 in a system with RW5.13.01======
GuGa0 -
What container is the numpad included in? In one of the tab pages?
this.tabPage2.Controls.Add(this.numPad1);Lennart H0 -
Hello Lennart,The NumEditor control is in a GroupBox called "Mesa 2" that is on the second tab page (called "Lotes") of another TabControl with 6 tab pages (on tab page called "ProducciA3n").The NumPad control appears when NumEditor control is clicked. It is included in NumEditor Control from FP SDK 5.13.Thinking about that, maybe the NumPad control is limited by the GroupBox, and this is the reason the NumPad is partially hidden. I'll try.I'm using VisualBasic.Best Regards======
GuGa0 -
Hello,I've just tryed that, and there is no influence of the GroupBox in NumEditor-NumPad position on the screen. It is showed in the same position as in picture above.Best Regards,======
GuGa0 -
Hi Guga,The control which helps the NumEditor looks for the top parent (either a TpsForm or a GTPUMasterDialog).Did you create your UI by dragging and dropping controls, or are you "inserting" other UI's on the fly?BR/CarlosCarlos Martinez
ABB0 -
Hello Carlos,I dragged and dropped the NumEditor control from FlexPendant SDK5.13 Library to the screen I'm making.I tryed to just drag & drop the control and compile (Build), and it does the same.BR======
GuGa0 -
I'm starting to suspect that it's not possible for the user to configure the location of the numpad. The numpad is displayed on fixed positions based on where the textbox is located relative the container.
Lennart H0 -
Is it possible to share your code either with Lennart or me?The pad should take care of this automatically (this is why it is not possible to affect where it appears)ThanksCarlos Martinez
ABB0 -
Hello,I'm sorry for the delay. I was out of office.I attach a sample project where the same error appears.Thanks.Best Regards======
GuGa0 -
Hi Guga,Could you change the base class of your main view from TpsControl to TpsForm?The NumEditor looks for the top most parent (a TpsForm or GTPUMasterDialog) to "mount" the temporally NumPad. In your code, the top view inherits from TpsControl, therefore the NumEditor could not detect the top parent and uses the parent of the control.Please keep us posted if this helps.BRCarlos Martinez
ABB0 -
Hello Carlos,I tryed, and it works. Now when NumEditor is clicked, the NumPad appears completely.But, TpsForm creates a Title bar that we don't need because it takes a little space of the top of the screen.Any other solution?If not, I'll reorder the elements of the screen in order to get the NumPad in a right place.Thanks a lot for your help.Best Regards======
GuGa0 -
Hi again,You can set the property TitleBarVisible to FALSE in order to hide the Title ...BRCarlos Martinez
ABB0 -
Thank you very much Carlos,BR======
GuGa0 -
I want to thank you guys, this helped me a lot. I am using RW6.01 and flexpendant SDK 5.15.261.0.BRjust gelalo0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings