https://youtu.be/pOujawO1cVo https://windevdesenvolvimento.blogspot.com/2019/09/dicas-2291-windev-webdev-mobile.html // BTN_ABRE_DOCUMENTO extensao_arquivo is string=fExtractPath(TABLE_ARQUIVOS.COL_ARQUIVO,fExtension) IF extensao_arquivo=".txt" THEN ShellExecute(TABLE_ARQUIVOS.COL_ARQUIVO) ELSE OpenDocument(TABLE_ARQUIVOS.COL_ARQUIVO) END |