Search found 115 matches: dim

Return to advanced search

Simple conversion with array gives me problems

I was looking to make the following menu (popup) more dynamic. For a test I made a 2 dim array (menuitem, and the return value). Later will get this from database into a array. Always when I touch arrays in combination with this kind of program rules, i spend hours ...
by Marc Venken
Fri Jul 28, 2017 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simple conversion with array gives me problems
Replies: 6
Views: 1080

Re: Creando Objetos desde un OCX

... Ambas formas conectan, cual es la forma correcta de crear el objeto OCX ActiveX ?. Como hacer esto mismo en FIVEWIN? ejemplo en VIsual Basic: Dim hasar As HasarArgentina.ImpresoraFiscalRG3561 = New HasarArgentina.ImpresoraFiscalRG3561 Dim respabrir As HasarArgentina.RespuestaAbrirDocumento ...
by mterraz
Fri Jun 16, 2017 8:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 2805

Re: Creando Objetos desde un OCX

... si alguno lo hizo, como hago para crear una variable con la misma estructura creando una instancia del OCX?. En Visual Basic se hace asi : Dim estilo As oFiscal.AtributosDeTexto Como se hace eso mismo en Fivewin? Ejemplo de estructura: typedef [uuid(2AA953E3-0281-4E13-9BF4-6A25FA7F9E33), ...
by mterraz
Mon Jun 12, 2017 12:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 2805

Re: Creando Objetos desde un OCX

... Tu comentario con respecto a esta linea : cierre = hasar.CerrarJornadaFiscal(90) // ESE ES EL EJEMPLO EN .NET HASAR es definido como, Dim hasar As HasarArgentina.ImpresoraFiscalRG3561 = New HasarArgentina.ImpresoraFiscalRG3561 EN FIVEWIN UTILIZO oFiscal:= CreateObject("HasarArgentina.ImpresoraFiscalRG3561") ...
by mterraz
Tue Jun 06, 2017 9:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 2805

Creando Objetos desde un OCX

... creado del OCX. Al final debería contar con un objeto y poder acceder a la propiedad "zeta.Numero" EJEMPLO .NET Public Class FormIFH2G Dim hasar As HasarArgentina.ImpresoraFiscalRG3561 = New HasarArgentina.ImpresoraFiscalRG3561 Private Sub ButtonRepZeta_Click(ByVal sender As System.Object, ...
by mterraz
Tue Jun 06, 2017 2:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 2805

Re: Multi dim. array challenge didn't work

Is there a sample available that shows using all the array elements, in particular best practices/allowed values for Exprn and cSortOrder?

Robb
by rhlawek
Fri Jan 27, 2017 3:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

Transposing Arrays:   aSpec :=  { ;   {  1, "Selection","Sel"     , 30 }, ;   {  2, "Code",  "Code"  , 60 }, ;   {  3, "Naam",   "Naam...
by nageswaragunupudi
Sun Jan 22, 2017 10:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

Yes and even more.

We suggest you post some of your code and we keep suggesting the best ways to make it simpler, safer and better.
by nageswaragunupudi
Sun Jan 22, 2017 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

Very nice. Changed my code...

I'm sure that I can reduce my code of my first project with more that 60 % once I have more knowledge of FWH! :lol:
by Marc Venken
Sun Jan 22, 2017 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

...     COLUMNS aSpec ;      AUTOSORT ;      LINES NOBORDER  Xbrowse internally extracts datas, headers, pictures, columnwidths, etc from your multi-dim array internally, without your spending time on writing code like above. This is the format of aSpec: aSpec := { ;   { cData/Exprn1,  [cHeader1], ...
by nageswaragunupudi
Sun Jan 22, 2017 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

That was it !

Thank you...
by Marc Venken
Sun Jan 22, 2017 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Multi dim. array challenge didn't work

Not sure if this is what you are looking for: #include "FiveWin.ch"function Main()   local oDlg, oBrw   local aFields := {}, aHeaders := {}, aSizes := {}   local aSpec :=  { ;   { "Selection&q...
by Antonio Linares
Sun Jan 22, 2017 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Multi dim. array challenge didn't work

I challenged myself i fine tuning some code : I wanted to convert this browse for easy reading and changing data, so that I don't need to count the fields in the source :wink: before editing. I can do it with 3 times a single array's in a for next loop, but I wanted a chalenge... Do it with Multi ar...
by Marc Venken
Sat Jan 21, 2017 10:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dim. array challenge didn't work
Replies: 7
Views: 1846

Re: Unattended e-mails via Outlook 365

... is 25, not 587 https://clicdatacoder.wordpress.com/2012/07/13/sending-smtp-mail-via-office-365-exchange-using-cdo-message-and-other-applications/ Dim objCDO Set objCDO = CreateObject("CDO.Message") objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") ...
by Rick Lipkin
Thu Jan 05, 2017 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended e-mails via Outlook 365
Replies: 5
Views: 2760

Tree on xBrowse

Hi, all !

oBrw:SetTree(Crt_Tre())

function Crt_Tre

TREE oTree
.....................
TREEITEM dim[st][2]
.....................
ENDTREE
return oTree

There xbrose with Tree. As the processing is done on the Tree lclick/dblclick/press Enter, etc. ?
by Natter
Thu Nov 10, 2016 1:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tree on xBrowse
Replies: 8
Views: 1084
PreviousNext

Return to advanced search