Jump to content


Photo

Close frame in PageControl

close frame pagecontrol

  • Please log in to reply
2 replies to this topic

#1 WagnerAlexandre

WagnerAlexandre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 85 posts
  • LocationUberlândia-Brazil

Posted 01 May 2015 - 10:37 PM

How do I create a button to close a frame on a PageControl?

 

thanks.


  • 0

#2 sobakava

sobakava

    Active Member

  • Members
  • PipPipPip
  • 78 posts

Posted 02 May 2015 - 08:48 AM

If it is a TFrame on a PageControl, you can simply hide it with   myframe.visible := false.


  • 0

#3 ksawebsoft

ksawebsoft

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 13 November 2017 - 01:23 PM

I used this:

 

......

function functionName: Tuniframe; //result your frame
 
implementation
 
function functionName: Tuniframe;
begin
  Result := Tuniframe(UniMainModule.GetFormInstance(Tuniframe));
end;
 
 
 
I don't knot if this will work for you...

  • 0





Also tagged with one or more of these keywords: close, frame, pagecontrol

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users