Search found 15 matches: showdialog

Return to advanced search

Send mail from fastreport

... I want it to behave like when using the "Export to pdf" dialog (FrPrn:SetProperty("PDFExport", "ShowDialog", .t.)): https://www.smartprint.co.rs/puno.png This is code: Function PdfAndMail(mSubject,mTo,mCc)mFileName=cOsnDir+"\Pdf\" ...
by mtajkov
Sun Nov 26, 2023 3:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send mail from fastreport
Replies: 1
Views: 298

Re: Using C# (and .NET) from FWH not working(?)

... char* FromString(String^ src);// spawns a harbor error starting from a .NET onestatic void HandleError(Exception^ e);HB_FUNC(SHOWDIALOG) {    try { //I did not check if the calls are successful, everything is taken from the catch and brought to harbor.        ...
by AntoninoP
Tue Sep 15, 2020 7:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using C# (and .NET) from FWH not working(?)
Replies: 33
Views: 4381

Re: Fastreport y PDF sin pasar por un PREVIEW

... // SetProperty("PDFExport", "FileName", "My file.pdf") // SetProperty("PDFExport", "ShowDialog", .f.) // // For Delphi enumerated types and set type use its // string representation, for example: // SetProperty("Designer.DefaultFont", ...
by joseluisysturiz
Wed Mar 06, 2013 10:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fastreport y PDF sin pasar por un PREVIEW (SOLUCIONADO)
Replies: 6
Views: 1301

Re: Pregunta sobre Dialogo

... memo, etc), como analizarlo y como generar un diálogo de forma equivalente a DEFINE DIALOG ... RESOURCE ... Revisa el código fuente de la función ShowDialog() en samples/re.prg Aunque la opción más poderosa es usar un script que compila y ejecuta un PRG desde el propio EXE. Tienes un ejemplo en ...
by Antonio Linares
Tue Mar 05, 2013 5:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre Dialogo
Replies: 8
Views: 1380

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

... = { | oItem | oItem := oTree:GetSelected(),;                       If( oItem != nil, oMemo:SetText( oItem:Cargo ),) }    oTree:bLDblClick = { || ShowDialog( oTree:GetSelected() ) }    oTree:SetImageList( oImageList )    @ 0, 25.7 GET oMemo VAR cItemText MEMO OF oWndRC SIZE 300, 100    @ 0, 200 ...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 11658

Re: FASTREPORT - MAILExport

... or into a MAPI compatible client. you can make this adding this code at the end of the report .. .. FrPrn:SetProperty("MailExport","ShowDialog",.f.) FrPrn:SetEventHandler("MailExport","OnSendMail",{|ParamsArray|MySendMail(FrPrn,cPdfFile)}) .. and with these ...
by Marco Turco
Sat Aug 29, 2009 3:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FASTREPORT - MAILExport
Replies: 3
Views: 1108

FASTREPORT - MAILExport

Hello Marco,

would you be so kind to show how to setup the attachment type
if you use

oFr:SetProperty("MAILExport", "ShowDialog",.f.)

Thanks in advance
Otto
by Otto
Sat Aug 29, 2009 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FASTREPORT - MAILExport
Replies: 3
Views: 1108

Re: FASTREPORT how to export Report in “silent” mode

Thanks to Marco. This is the solution: oFr:SetProperty("PDFExport", "ShowDialog",.f.) oFr:SetProperty("PDFExport", "FileName", "\Myfile.pdf")oFr:SetProperty("PDFExport", "OpenAfterExport", ...
by Otto
Sat Aug 29, 2009 1:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FASTREPORT how to export Report in “silent” mode
Replies: 1
Views: 399

Re: FASTREPORT how to export Report in “silent” mode

Hi Otto,
I'm not sure this can help you but I had the same problem to send a report via email
and I solved using FrPrn:SetProperty("MailExport","ShowDialog",.f.) to hide the dialog.

Perhaps it runs also with the exports.
by Marco Turco
Sat Aug 29, 2009 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FASTREPORT how to export Report in “silent” mode
Replies: 9
Views: 2313

Re: Test Functions in FWPPC , exists or no?

Andrej,

Please make these changes in your code:

@ 5, 0 BUTTON "Test Button" ;
SIZE 204, 26 ;
FONT oFontS;
ACTION ShowDialog( oWnd )

...

STATIC FUNCTION ShowDialog( oWnd )

...

DEFINE DIALOG oDlg TITLE "Test" SIZE 200, 200 OF oWnd
by Antonio Linares
Mon Feb 09, 2009 6:27 pm
 
Forum: FiveWin for Pocket PC
Topic: Test Functions in FWPPC , exists or no?
Replies: 5
Views: 881

OK, I will try.

... NAME 'Arial' SIZE 0, -10 DEFINE WINDOW oWnd TITLE "RFID_OMME" @ 5, 0 BUTTON "Test Button" ; SIZE 204, 26 ; FONT oFontS; ACTION ShowDialog() ACTIVATE WINDOW oWnd oFontS:End() oDld:End() oWnd:End() return nil //-------------------------------------------------------------------------// ...
by xVar
Mon Feb 09, 2009 8:00 am
 
Forum: FiveWin for Pocket PC
Topic: Test Functions in FWPPC , exists or no?
Replies: 5
Views: 881

Help translating dot net code to FWH

... I need to translate: ChargeNow chg = new ChargeNow(); chg.init(); chg.PM = ChargeNow.PAYMENTMODE.PayNow; chg.CM = ChargeNow.CHARGEMODE.Sale; chg.ShowDialog(); Can anyone help with this? I have tried: oChg := CreateObject("ChargeNow") And I get this error: Error description: Error TOleAuto/-1 ...
by James Bott
Tue Nov 04, 2008 12:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help translating dot net code to FWH
Replies: 4
Views: 1422

... from: .\source\classes\DIALOG.PRG => CREATEDLGERROR(0) Called from: => TDIALOG:ACTIVATE(0) Called from: C:\FiveWin.20\samples\re.prg => SHOWDIALOG(445) Called from: C:\FiveWin.20\samples\re.prg => (b)OPENRCFILE(305) Called from: => TTREEVIEW:LDBLCLICK(0) Called from: => TWINDOW:HANDLEEVENT(0) ...
by StefanHaupt
Thu Dec 13, 2007 12:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH Resources Editor - Speed test
Replies: 85
Views: 18085

Five Linux Dialogs and Wait States

... from another dialog (for eaxample have a record displayed and click edit to edit it) Secondly I typically have code a bit like this DO WHILE .T. ShowDialog() IF ::ExitCode = "X" RETURN nil ENDIF IF ::ExitCode = "E" ::lEdit := .T. ELSE ::lEdit := .F. ENDIF ENDDO But the dialog returns before the ...
by xProgrammer
Sun Aug 19, 2007 12:36 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Five Linux Dialogs and Wait States
Replies: 2
Views: 1106

REDEFINE BITMAP

... % stack calls: TCONTROL:PAINT(0) __EVAL(0) TCONTROL:DISPLAY(0) TCONTROL:HANDLEEVENT(0) TCONTROL:HANDLEEVENT(0) DIALOGBOX(0) TDIALOG:ACTIVATE(0) SHOWDIALOG(156) ... I found in the BITMAP CLASS - Paint method this line SetBrushOrgEx( ::hDC, 8 - ::nLeft() % 8, 8 - ::nTop() % 8 ) Any idea? Regards ...
by Pier Luigi
Fri Oct 20, 2006 9:14 pm
 
Forum: FiveWin for Pocket PC
Topic: REDEFINE BITMAP
Replies: 0
Views: 615

Return to advanced search