-
Posts
166 -
Joined
-
Last visited
-
Days Won
5
robinhodemorais last won the day on July 21 2024
robinhodemorais had the most liked content!
Contact Methods
-
MSN
whatsapp = 55 21-96841-4332
-
ICQ
telgram = @Robinhodemorais
-
Skype
robinhocne
Profile Information
-
Gender
Male
-
Location
Brasil - Rio de Janeiro
Recent Profile Visitors
2428 profile views
robinhodemorais's Achievements

Active Member (3/4)
24
Reputation
-
robinhodemorais started following Center panel , Dynamic label in grid weboptions , How to get id from urlframe ? and 1 other
-
Hello, I have a dbgrid and put a label next to the buttons with the number of grid records, but this information will change every time the user performs one, to put a label I managed to do it like this function pagingBar.boxready(sender, width, height, eOpts) { this.add({ xtype:'label', html: '10.358' }); this.add({ text: 'Pedido', handler: function() { top.ajaxRequest(sender,'novopedido', []) } }); } But how can I make it dynamic? because in this same function I use it to include buttons
-
How do I get the id from the urlframe? the one in the image below; so the frameBackLog.JSId or frameBackLog.JSName doesn't return I need the same one that is in the image and to use a function that is not in the urlframe, manually passing it, but I have received that this changes.
-
Thanks for your patience and help, it was perfect, see the gif below and the demo attached for those who need it. CenterUnigui.rar
-
I even managed to centralize it by disabling all Anchors, but everything I put inside the simplePanel is misaligned, thus also not meeting my problem.
-
Thanks for the help, but I didn't adapt the codes correctly, see the image below; when running it is giving this error
-
hello, sorry for the delay, off here, so, my problem is the panel is inside, these are not the simple bluepanela that should always be more positioned in the middle of the scrollbox, I've tried in several ways here, but it wasn't, even following the examples in the demo, see that in the attached gif, when moving the browser it does not position itself, my problem is not being able to reposition it in the middle again using the uniframe > scrollbox > simplepanel
-
I checked these demos, but in all my tests I couldn't center as needed, I tried anchor but I couldn't either, the problem is if I move the browser it doesn't center, the attached demo shows the situation.
-
Structure > uniFrame (no alignment) >> uniScrollBox(Align = alClient) >>> uniSimplePanel (no alignment) - the uniSimplePanel is my central panel, which should be centered in the middle of the uniScrollBox With the code below in uniFrame's onCreate I can center it, but if I move the browser it doesn't center in the middle again procedure TfrmPagePadrao.UniFrameCreate(Sender: TObject); begin uniSimplePanel.Top := 0; uniSimplePanel.Left := Round((Screen.Width / 2) - (uniSimplePanel.Width / 2)); end;
-
Hello, I'm creating a screen using UniFrame, in it I put a scrollBox to create a scrollbar due to the size of the screen and inside the scroll I have a unicontainerpanel with my components, this unicontainerpanel needs to be centered on the screen, so with the command below in create from UniFrame I can center, but uniFrame doesn't have the onResize or onScreenResize event as there is in uniForm, so how can I center my unicontainerpanel in a uniFrame when the user changes the screen size? code used in OnCreate unicontainerpanel.Top := 0; unicontainerpanel.Left := Round((Screen.Width / 2) - (unicontainerpanel.Width / 2));
-
Yes
-
Good night, at login I put a panel with the fields, I need this panel to be centralized, but I am not getting it, I tried this way. procedure TfrmLogin.UniLoginFormScreenResize(Sender: TObject; AWidth, AHeight: Integer); begin pnLogin.top := (Self.Height div 2) - (pnLogin.height div 2); pnLogin.left := (Self.Width div 2) - (pnLogin.width div 2); end;