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

 
Read Message
Read Message
Read Message
Read Message
Read Message
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: Mon Aug 25 11:12:26 CEST 2025

Total time taken to generate the page: 0.05615 seconds