Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to add data to combox from resource editor.

Posted on 2001-07-01
8
Medium Priority
?
306 Views
Last Modified: 2013-11-20
hello-

when i right click on my combo box from the resource editor and go to the properties under data is says 'enter listbox items'. when i do this nothing shows up in the combobox when i run the program. can data be entered into the combobox this way?


thanks - js
0
Comment
Question by:jeremiahscott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 2

Accepted Solution

by:
GloriousRain earned 200 total points
ID: 6243633
"data
be entered into the combobox this way?
"->Yes, certainly. I don't know what happen with you?
0
 
LVL 2

Expert Comment

by:GloriousRain
ID: 6243644
"right click on your combo box from the resource editor and go to the properties under data is says
'enter listbox items'."->Put your data then click on the down button of your combo box->enlarge the vertical size of your combo box's pulldown list
0
 
LVL 2

Expert Comment

by:GloriousRain
ID: 6243656
Tip:
When adding a combo box control to the window, it is important that you click and drag the area for the control as large as you want the drop-down list to be. After you draw the control on the window, you can resize the width of the control as you would normally expect to do. To resize how far the list drops down you need to click the arrow, as if you were trying to trigger the drop-down list while the application was running.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 7

Expert Comment

by:peterchen092700
ID: 6243663
...and remember, the "enter listbox items" does not work in in Win32- and ATL projects

Peter
0
 

Expert Comment

by:pipe
ID: 6243677
ok, my first problem was that the dropdown part of the list was 0. i made that bigger now. i have entered in a string such as one,two,three. how do i get these on diffrent lines in the combobox now?
0
 
LVL 2

Expert Comment

by:GloriousRain
ID: 6243681
After each line press Ctrl+Enter
0
 

Author Comment

by:jeremiahscott
ID: 6245924
awesome, thanks! is there anyway to set the default value from the rs editor or do i have to do that programmactically?

0
 
LVL 2

Expert Comment

by:GloriousRain
ID: 6246960
"is there anyway to set the default value from the rs editor?"->Yes. Open the properties dialog for the combo box that you placed on the window. On the Data tab of the properties dialog, enter the values, using a Control+Enter key combination to add the second and third items...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question