Jump to content

Recommended Posts

Posted

Hi,

 

Try:

 

UniPageControl1 -> ClientEvents -> UniEvents :

function tabPanel.beforeInit(sender, config)
{
  sender.tabPosition = "bottom"
}

post-906-0-29919100-1430919813_thumb.png

 

Best regards!

  • 6 months later...
  • 1 year later...
Posted (edited)

I tried this in version 1.0.0.1362 but is doesn't seem to work anymore.

 

Can anyone confirm this?

 

Nevermind. My mistake...

Edited by Mike
  • 1 year later...
Posted

I've just tried this is the latest trial and it doesn't seem to work. Three options

1. It's not supported in the trial
2. It doesn't work in the current version
3. I'm doing something wrong.

As I'm new to this I'm guessing 3 is the most likely.

 

My PageControl is in a Frame which is embedded in to a panel at run time - would this make a difference ?

 

procedure TMainForm.UniToolButton1Click(Sender: TObject);
begin
with TUniFrame1.create(self) do
begin
  Parent := UniPanel1;
  Align := alclient;
  top := 0;
  left := 0;
  Show;
end;
end;

  • 2 years later...
Posted

I am currently using unimTabPanel instead of UniPageControl in mobile application.

Tried to put this beforeInit function inside TabPanel or every individual TabSheet, tab position is always on top.

Any advice?

Thanks.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...