T tsdt Active Member Licensed User Jan 28, 2010 #1 Hi all, Just wonder whether if there is something wrong with this portion of the code.. I kept on getting errors on this. Dim Type(Dashlen, Spacelen) Dashes as Int32 ... ... Dashes.Dashlen = 2 Dashes.Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes(,)) ... Something is wrong here.. Thanks. :sign0085:
Hi all, Just wonder whether if there is something wrong with this portion of the code.. I kept on getting errors on this. Dim Type(Dashlen, Spacelen) Dashes as Int32 ... ... Dashes.Dashlen = 2 Dashes.Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes(,)) ... Something is wrong here.. Thanks. :sign0085:
klaus Expert Licensed User Longtime User Jan 28, 2010 #2 Try this code: B4X: Dim Type(Dashlen, Spacelen) Dashes(1) as Int32 ... ... Dashes(0).Dashlen = 2 Dashes(0).Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes()) Best regards.
Try this code: B4X: Dim Type(Dashlen, Spacelen) Dashes(1) as Int32 ... ... Dashes(0).Dashlen = 2 Dashes(0).Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes()) Best regards.
T tsdt Active Member Licensed User Feb 2, 2010 #3 klaus said: Try this code: B4X: Dim Type(Dashlen, Spacelen) Dashes(1) as Int32 ... ... Dashes(0).Dashlen = 2 Dashes(0).Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes()) Best regards. Click to expand... Thanks
klaus said: Try this code: B4X: Dim Type(Dashlen, Spacelen) Dashes(1) as Int32 ... ... Dashes(0).Dashlen = 2 Dashes(0).Spacelen = 2 drawExObj.DrawLineDashDot(PenExObj.Value, xLoc1, yLoc1, xLoc2, yLoc2, Dashes()) Best regards. Click to expand... Thanks