1. Select & Create folders dialog
- Posted by Sergio Gelli <sergelli at uol.com.br> Jul 04, 2006
- 599 views
Bom dia para todos. Goog morning for all. Many thanks to Derek reply, about my last questions. Please, now I need a new help. The line below, shows a box dialog to choose any folder, folders = selectDirectory("Get a Dir", {BIF_USENEWUI,BIF_VALIDATE}, routine_id("callback"), 0) That's o.k. I need a dialog box like that, but also has a choise to create a new folder. Exist a DIALOG FLAGS to use with the selectDirectory() to create a new folder too ? How I do it? Thanks again. Sérgio Gelli.
2. Re: Select & Create folders dialog
- Posted by Antonio Alessi <a.admin at myway.it> Jul 04, 2006
- 606 views
Sergio Gelli wrote: > > Bom dia para todos. > Goog morning for all. > > Many thanks to Derek reply, about my last questions. > > Please, now I need a new help. > > The line below, shows a box dialog to choose any folder, > > folders = selectDirectory("Get a Dir", {BIF_USENEWUI,BIF_VALIDATE}, > routine_id("callback"), 0) > > That's o.k. > I need a dialog box like that, but also has a choise to > create a new folder. > > Exist a DIALOG FLAGS to use with the selectDirectory() to > create a new folder too ? > > How I do it? > > > Thanks again. > > > Sérgio Gelli. Yes Sérgio, there is BIF_USENEWUI: TargetDir = ( selectDirectory( "Select a local Folder\n", {BIF_BROWSEINCLUDEURLS, BIF_USENEWUI, BIF_VALIDATE}, routine_id( "callback"), 0)) antonio
3. Re: Select & Create folders dialog
- Posted by Sergio Gelli <sergelli at uol.com.br> Jul 04, 2006
- 607 views
- Last edited Jul 05, 2006
Antonio Alessi wrote: > > Sergio Gelli wrote: > > Exist a DIALOG FLAGS to use with the selectDirectory() to > > create a new folder too ? > > Sérgio Gelli. > > Yes Sérgio, > > there is BIF_USENEWUI: > > TargetDir = ( selectDirectory( "Select a local Folder\n", > {BIF_BROWSEINCLUDEURLS, > BIF_USENEWUI, BIF_VALIDATE}, routine_id( "callback"), 0)) > > antonio Thanks Antonio, your instruction works fine, I am grateful. I try find this FLAGS in WIN32LIB.EW docs and anothers like this but I failed, don't found nothing. Where I can find intructions about that and others? Sérgio Gelli - Brasil
4. Re: Select & Create folders dialog
- Posted by Antonio Alessi <a.admin at myway.it> Jul 05, 2006
- 603 views
Sergio Gelli wrote: > > Antonio Alessi wrote: > > > > Sergio Gelli wrote: > > > Exist a DIALOG FLAGS to use with the selectDirectory() to > > > create a new folder too ? > > > Sérgio Gelli. > > > > Yes Sérgio, > > > > there is BIF_USENEWUI: > > > > TargetDir = ( selectDirectory( "Select a local Folder\n", > > {BIF_BROWSEINCLUDEURLS, > > BIF_USENEWUI, BIF_VALIDATE}, routine_id( "callback"), 0)) > > > > antonio > > Thanks Antonio, your instruction works fine, I am grateful. > > I try find this FLAGS in WIN32LIB.EW docs and anothers like this > but I failed, don't found nothing. > > Where I can find intructions about that and others? > > Sérgio Gelli - Brasil I cannot help you much in that, I don't know Windows programming details; I was greatly helped in discovering the Euphoria power by this forum and all the RDS contrib. solutions; and was so busy in developing a big application that I could never find out time to deepen theories and rules from M$'s sources. Hope someone else can address you.. I can look for win32.hlp on the net and download it to start with a basic reference. However the BIF_USENEWUI constant exists into the winfile.ew included file. antonio
5. Re: Select & Create folders dialog
- Posted by don cole <doncole at pacbell.net> Jul 05, 2006
- 590 views
Sergio Gelli wrote: > > Antonio Alessi wrote: > > > > Sergio Gelli wrote: > > > Exist a DIALOG FLAGS to use with the selectDirectory() to > > > create a new folder too ? > > > Sérgio Gelli. > > > > Yes Sérgio, > > > > there is BIF_USENEWUI: > > > > TargetDir = ( selectDirectory( "Select a local Folder\n", > > {BIF_BROWSEINCLUDEURLS, > > BIF_USENEWUI, BIF_VALIDATE}, routine_id( "callback"), 0)) > > > > antonio > > Thanks Antonio, your instruction works fine, I am grateful. > > I try find this FLAGS in WIN32LIB.EW docs and anothers like this > but I failed, don't found nothing. > > Where I can find intructions about that and others? > > Sérgio Gelli - Brasil Hello Sergio, Why can't you use selectDirecrt() to select a directory and createDirectry() to create a diectory. You can call one right after the other. There is no need to mix them together. As far as the flag I really don't know them all. I believed anything in all capital letter like BIF_VALIDATE is an attribute and must be looked up for each control you are using them in. Don Cole