Jump to content

robinhodemorais

uniGUI Subscriber
  • Posts

    166
  • Joined

  • Last visited

  • Days Won

    4

robinhodemorais last won the day on March 9 2022

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

1812 profile views

robinhodemorais's Achievements

Active Member

Active Member (3/4)

23

Reputation

  1. 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
  2. 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.
  3. Thanks for your patience and help, it was perfect, see the gif below and the demo attached for those who need it. CenterUnigui.rar
  4. 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.
  5. Thanks for the help, but I didn't adapt the codes correctly, see the image below; when running it is giving this error
  6. 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
  7. 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.
  8. Can anyone help me with this problem, because I've tried everything and I couldn't
  9. 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;
  10. 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));
  11. 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;
×
×
  • Create New...