Re: [harbourminigui] Error E0030 Sintax error "Sintax error at @"

53 views
Skip to first unread message

priadi andika

unread,
Jul 29, 2023, 11:18:05 PM7/29/23
to Eduardo Flores Rivas, Harbour Minigui
Hi
This is syntax textbox

Standard Window:

@ <nRow> ,<nCol> TEXTBOX <ControlName>
[ ID <nId> ]
[ OF | PARENT | DIALOG <ParentWindowName> ]
[ HEIGHT <nHeight> ]
[ WIDTH <nWidth> ]
[ FIELD <FieldName> ]
[ VALUE <nValue> ]
[ READONLY ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ NUMERIC [ INPUTMASK <cMask> FORMAT <cFormat>] ] | PASSWORD ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColor> ] // * or <anBackColor, anReadOnlyBackColor
[ FONTCOLOR <anFontColor> ] // * or <anFontColor, anReadOnlyFontColor
[ MAXLENGTH <nInputLength> ]
[ UPPERCASE | LOWERCASE ]
[ ON INIT <OnInitProcedure> | <bBlock> ]
[ ON GOTFOCUS <OnGotFocusProcedure> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
[ ON ENTER <OnEnterProcedure> | <bBlock> ]
[ RIGHTALIGN ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ NOBORDER ]
[ HELPID <nHelpId> ]
[ CUEBANNER | PLACEHOLDER> <CueText>

Thanks
BR
SPD

Pada tanggal Min, 30 Jul 2023 pukul 05.12 Eduardo Flores Rivas
<eduf...@gmail.com> menulis:
>
> Hi everybody,
>
> I get the following error:
> Error E0030 Sintax error "Sintax error at @"
>
> The compiler tells me the lines of the following codes:
>
> // error 1
> @ 560 , 570 TEXTBOX TxtTtlUni ;
> WIDTH 080 ;
> HEIGHT 20 ;
> READONLY ;
> BACKCOLOR WHITE , Mi_Amarillo ;
> NUMERIC INPUTMASK "9999999"
>
> // error 2
> @ MOD_BXYW1[1,1] , MOD_BXYW1[1,2] BUTTON BotAgregar ;
> CAPTION '[Ins]' ;
> PICTURE 'imagen\agregar.bmp' LEFT ;
> ACTION Ventas_ItemAdd() ;
> WIDTH MOD_BXYW1[1,3] ;
> HEIGHT MOD_BOTNH
>
> // error 3
> START PRINTDOC NAME FRM_DOCNAM
>
> START PRINTPAGE
>
> IF FILE('Imagen\LOGOT.BMP')
> @ 5 , 15 PRINT IMAGE 'Imagen\LOGOT.BMP' ; //<-line of error
> WIDTH 45 ;
> HEIGHT 25
> nRow := 32
> ELSE
> nRow := 4
> ENDIF
>
> Please tell me what would be the correct syntax for each case. I am migrating code from HMG Official.
>
> Thanks in advance.
>
> --
> Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
> ---
> You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/minigui-forum/94de1e8e-c6e3-4ba8-af38-f16dd99badedn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages