Perhaps you could read the ULCEssentialsGuide. There you can find following 
example:

Examples
In this example the application asks the user to choose a text file located on 
the client machine. The only selectable files are those with extension ".txt".
// parent for the file chooser
ULCFrame frame = new ULCFrame();
// ...
FileChooserConfig fcConfig = new FileChooserConfig();
fcConfig.setDialogTitle("Choose a text file");
fcConfig.addFileFilterConfig(new FileChooserConfig.FileFilterConfig(
new String[]{".txt"}, "text files (*.txt)"));
ClientContext.chooseFile(new IFileChooseHandler() {
public void onSuccess(String filePath) {
System.out.println("Chosen text file is: " + filePath);
// return the file path
}
public void onFailure(int reason, String description) {
// show an alert informing the operation has failed
}
}, fcConfig, frame);


UltraLightClient Essentials Guide 14

Regards

Hansjoerg Pircher

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hofmann, Torsten
Gesendet: Donnerstag, 19. Oktober 2006 18:15
An: [EMAIL PROTECTED]
Betreff: [ULC-developer] Parentwindow for ClientContext.chooseFile

Hello

How could i set a parentwindow for the Filechooser dialog?

Regards

Torsten Hofmann
Dipl. - Informatiker (FH)
IT Consultant Business Integration
 
Würth Phoenix GmbH
Drillberg 6
D-97980 Bad Mergentheim

Phone: +49 7931 91 6284
Fax: +49 7931 91 7284
E-Mail: [EMAIL PROTECTED]
Website: www.wuerth-phoenix.de

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to