Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database in procomm 1

Status
Not open for further replies.

gambino

Technical User
Oct 1, 2002
11
DE
i work with procomm plus 32 version 4.7 and it's my first time working with procomm. i want to make a database in procomm is it possible. i want to use pull down windows in my script so that i can choose one of them and then click on it and then is goes to the next pull up/down window where i can choose for example in the first pull up/down windowm i must choose models just like mk1,mk2,mk3 and roadrunner(so every model has it's own pull down window, that's diffrent from the other. when i choos one of the models for example mk3 then there must open a new pull up/down window which shows the targets such like BMW AM VOLVO OPEL and then i want to open a nother pull down/up windown. so that the user can choose step by step it isn't nessacery using pull up/down windows it can also be done by dialog boxen. can you help me beacse i'm stuck i don't know how to begin or how to use procomm aspect editor and stuff can you help me please????
 
The thread "Variable Question" on the second page and the thread "Multiple Dialogboxes" on the third page of this forum have some examples of using multiple dialogs in a script (although in these examples, each dialogbox is being created by a different script). Depending on how involved your problem is, you may or may not be better off using one script or several scripts that are called by a main script.

In addition to the examples in the threads above, you'll want to look in the ASPECT help file for the discussion of the listbox and flistbox commands. These commands allow you to display the contents of either a string (listbox command) or file (flistbox command) in your dialog. Your script can then act upon the selection that the user made within the listbox/flistbox.

The last initial suggestion I would make is looking at the Dialog Editor and using that to construct your dialog instead of manually typing the commands into the ASPECT Editor and hoping you have the syntax and IDs correct the first time. It lets you lay out your dialog visually in a drag and drop manner. If you've ever used Visual C or Visual Basic before, the Dialog Editor will be somewhat familiar. In Procomm, select the Tools | Script | Dialog Editor menu item to launch the editor.
aspect@aspectscripting.com
 
KNOB THX FOR YOU REPLY
but is it possible to have pull up/down windows just like the upper menu in prcomm plus ternimal where the file,edit,view,options data are i want to make such pull down windows it is possible or can you only use dialogs where you can put a pull down window in(i rather want a pull down window that shows in the upper window just like procomm plus terminal, but if you only can use pull down windows in the dialog box than i must do it that way(so first you see the dialog box and in the dialog box you'll have a pull down window)
 
A dialog box can support listboxes, similar to the Rapid Connect and Script File listboxes in the upper left corner of the Procomm window, below the menus. I think this is what you were asking, rather than having actual menu items in a dialog, which is not allowed unfortunately. If you look at either the listbox or flistbox command in the ASPECT help file, they both contain example scripts that demonstrate their use (the flistbox example will require you to create the text file that it reads data from however). The listbox and flistbox commands are only allowed in a dialog and cannot be added to Procomm's tool bar.
aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top