Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » PopUpTable:does this ctrl exist?
PopUpTable:does this ctrl exist? [message #28403] Tue, 31 August 2010 19:06 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Hi,

I am interested in knowing whether the ctrl in question does exist. If it does, how does it work (please provide some hints)?

I find very attractive the combination of ArryCtrl + dropdown feature.

Thank you,

Javier
Re: PopUpTable:does this ctrl exist? [message #28423 is a reply to message #28403] Wed, 01 September 2010 16:08 Go to previous messageGo to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Any volunteer?

Javier
Re: PopUpTable:does this ctrl exist? [message #28449 is a reply to message #28423] Thu, 02 September 2010 12:09 Go to previous messageGo to next message
pepe11 is currently offline  pepe11
Messages: 16
Registered: June 2006
Location: Slovakia
Promising Member

see PopUpTable class

pepe
Re: PopUpTable:does this ctrl exist? [message #28450 is a reply to message #28449] Thu, 02 September 2010 12:28 Go to previous messageGo to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
All right, but…when I use it (either through the visual editor –user class- or manually) the control does not show the drop-down feature at all. And, IMO, it is in the drop down+arrayctrl feature where the attractiveness of this control resides, is it not?

So, any precise hint?

Thank you,

Javier
Re: PopUpTable:does this ctrl exist? [message #28453 is a reply to message #28450] Thu, 02 September 2010 12:46 Go to previous message
pepe11 is currently offline  pepe11
Messages: 16
Registered: June 2006
Location: Slovakia
Promising Member

281264 wrote on Thu, 02 September 2010 12:28

All right, but…when I use it (either through the visual editor –user class- or manually) the control does not show the drop-down feature at all. And, IMO, it is in the drop down+arrayctrl feature where the attractiveness of this control resides, is it not?

So, any precise hint?

Thank you,

Javier



My use (no visual editor)

.h

FrameRight<Button> buildmethod;
PopUpTable methodlist;
EditString technik;

.cpp

technik.AddFrame(buildmethod);
buildmethod.SetMonoImage(CtrlImg::SmallDown()).NoWantFocus() ;
buildmethod.WhenPush = THISBACK(DropMethodList);
methodlist.Normal();
methodlist.AddColumn();
methodlist.Grid();
methodlist.WhenSelect = THISBACK(SelectMethod);

.....

void DropMethodList(){methodlist.PopUp(&technik);}
void SelectMethod(){if(methodlist.IsCursor()) technik <<= methodlist.Get(1);}

.....

while(sql2.Fetch())
methodlist.Add(sql2[2],Value(Format("%s , %s",sql2[0],sql2[1])));
......

and it's run.

pepe

[Updated on: Thu, 02 September 2010 12:47]

Report message to a moderator

Previous Topic: GridCtrl::Clear() doesn't take into account SetFixedRows(2)
Next Topic: GridCtrl - how to perform multiselect via CTRL like in ArrayCtrl
Goto Forum:
  


Current Time: Thu Apr 18 04:52:38 CEST 2024

Total time taken to generate the page: 0.02168 seconds