Re: LaunchPad -- Screen Shot (so far)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Don,


In WinClass you use this function:

  TabN=GetSelectedTab(ID)

where
  TabN is the tab number of the selected tab, and
  ID is the ID of the property sheet

Sound simple enough?  :)


don cole wrote:
> 
> Antonio Alessi wrote:
> > 
> > don cole wrote:
> > > 
> > > Al and Antonio,
> > > 
> > > This maybe a little off topic but how does one know which tabitem was
> > > clicked
> > > last. (the top tab).
> > > 
> > > Don Cole
> > 
> > 
> > Hi Don,
> > 
> > a "curious" question with a simple answer:
> > 
> > }}}
<eucode>
> > sequence tabtxt = {}
> > 
> > procedure TAB_Change( integer self, integer event, sequence prm)
> > 	
> > 	? self
> > 	? find( self, tabtxt)
> > 	
> > end procedure
> > 
> > --- ========= TABctrl created already
> > 
> > for i = 1 to TabNbr do
> > 
> >     tabtxt&= create( TabItem, prm, TABctrl, hor, ver, width, height, 0)
> >     setHandler( tabtxt[$], w32HClick, routine_id( "TAB_Change"))
> > 
> > end for
> > </eucode>
{{{

> > 
> > 
> > antonio
> 
> Thank you for your respose Antonio,
> 
> I don't know why you find it curious.
> 
> I want to change the color of that last tab to white.
> 
> Now you've given me place to do it. 
> 
> I couldn't find it anyplace in winClass or Arwin or win32lib.
> 
> Don Cole
> 
> Don Cole


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu