Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Combo button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combo button

 Post Reply Post Reply
Author
Message
vernonr View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote vernonr Quote  Post ReplyReply Direct Link To This Post Topic: Combo button
    Posted: 08 May 2006 at 12:18pm

How can I force the XTPReportRecordItems to show all the combo box dropdown buttons in a control having many rows ?

Thanks

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2006 at 2:31pm
Hi,

It was already discussed there, try searching by keywords "constraint" and "combo".

for example: http://forum.codejock.com/forum_posts.asp?TID=3525

--
WBR,
Serge
Back to Top
vernonr View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote vernonr Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2006 at 2:40pm

I have seen those threads..but, I must be missing something....

Suppose I have ten rows and each row has a combo box ( so 10 combo boxes ) . How can I force the buttons to be shown for all ten rows AT THE SAME TIME. I want to show the user that the items shown are part of a list...

Thanks

 

 

 

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 10:48am
Ok, now I see what you need.

Actually, there is the only way to do so. As far as in standard behavior combo box is created and shown only when user clicked a button, you'll have to override standard behavior.

You'll need to create a descendant of standard Record Item, and override its Drawing methods. There you can implement drawing showing a kind of a combo box in each item.

--
WBR,
Serge
Back to Top
vernonr View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote vernonr Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 10:56am

Thanks Serge - I'll investigate this....

 

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.