[Gambas-devel] About gambas Dialog

Charlie Reinl Karl.Reinl at ...16...
Tue Oct 12 20:31:48 CEST 2004


Salut Benoit,

two things about the ganbas Dialog:

1. I don't understand, why, if par example   IF Dialog.OpenFile() THEN RETURN
What means, if Dialog returns TRUE, then the user has aborted the Dialog.
Thats not logic for me.

If there is a result , something is TRUE, if not then it is FALSE.

And I think, even If it is hard for us users(lots of code to change), we 
should break with that.
Because if we have to breake after the 1.0 that will be harder.

  Dialog.Filter = [ ("XTableView as xtv") & " (*.xtv)", ("All files") & 
" (*.*)" ]
  Dialog.Path = sPath
  IF Dialog.OpenFile() THEN
    RETURN
  ENDIF
  sPath = Dialog.Path

2. it would be nice ( on Dialog.SaveFile) that  if the user hasn't typed the 
EXTENTION and a Dialog Filter <> * is set, to add the Filter Extention to the 
File 

Amicalement
Charlie




More information about the Devel mailing list