Skip to main content

Posts

Showing posts from June, 2025

Adding File path control on form in Axapta

  If you want to show browse option on file path control on form then you can apply below trick it will not work simply adding EDT to properties it can work if control linked with table field.  You can Override the Lookup method on StringEdit Control which is used for file path selection without this method browse will not open. public void lookup() {     FilenameOpen    file;     Filename        path;     Filename        name;     Filename        type;     #File     file = WinAPI::getOpenFileName(element.hWnd(),[WinAPI::fileType(#xlsx),#AllFilesName + #xlsx],path,'Select ...',"",name + type);     if(file)     {         StringEdit.text(file);     } }