On Jun 26, 2006, at 3:47 PM, Chuck Pelto wrote:


On Jun 26, 2006, at 1:38 PM, Charles Yeomans wrote:

You'll need to determine the control type in DoMethod --

If theControl IsA EditField then
 ...
ElseIf theControl IsA PopupMenu then


I do believe that I am doing that. Here's my code for DoMethod()


    if (theControl IsA EditField) then // it's an editfield

      theValue = EditField(theControl).Text()

    elseif (theControl IsA PopupMenu) then // it's a popup menu

      theValue = PopupMenu(theControl).Text()

    elseif (theControl IsA ComboBox) then // it's a Combo Box


Indeed you are. I'd set a breakpoint at the top of the method and see if theControl is in fact an EditField, then step through the code to see what happens.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to