New topic in Macintosh: 

popupmenu dont work on mac

Dralion - Tue Apr 01, 2008 8:28 am

<http://forums.realsoftware.com/viewtopic.php?t=21570>
                                                                                
                                                                                
Very simple - a popupmenu whos show up a column from a database
It work on pc - is there a difference, even in small thing like popupmenu


Code:dim rs as RecordSet

me.DeleteAllRows

rs =app.phippsdb.SQLSelect("SELECT DISTINCT Nom FROM Papiers ORDER BY Nom")
if app.phippsdb.error then
  app.displayDatabaseError false
  return
end

while rs.EOF = false
  me.AddRow rs.Field("Nom").StringValue
  rs.MoveNext
  
wend

rs.close


yes its connect to DB - iv show up in listbox beside and it work
only popupmenu stay at the first line (the blank one at the top)

See anything ??                                 
                                                                                
                                                                                
                                                                                
                                                                                
                                        



-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to