Jump to content

Recommended Posts

Posted

Hy,

 

i have a TuniContainerPanel - in the TuniContainerPanel i have a bigger TuniImage .. so the TuniContainerPanel shows me a Scrollbar.. a correct behavior :-)

 

how can i hide the Scrollbar of the TuniContainerPanel  ???

 

i used "function beforeInit(sender, config)  {  config.scroll = false}"  but doesn´t work ...

 
 

ThanX for Help

 

Erich

Posted

Hy Farshad :-)

nice greetings from Gastein 

 

.. AutoScroll is false ..

 

i load different images at runtime .. 

procedure TMainForm.UniTimer2Timer(Sender: TObject);
begin
UniImage9.Picture.LoadFromFile(mainform.datenpfad+'background'+inttostr(main_bildnummer)+'.jpg');

is this the reason ?

Posted

.. Found a solution...  :D

 

 

css

 

.hidescrollbar {
    overflow: hidden !important;
}
 
ExtEvent of UniContainerPanel :
 
function beforerender(sender, eOpts)
{
  sender.addClass('hidescrollbar');
}

hth

Erich

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...