Playing with examples

Started by Elias Montoya, January 11, 2012, 05:32:45 AM

Previous topic - Next topic

Elias Montoya


Im trying to understand the OCX examples. But when i click RUN with Jose's Carousel example, i get a compile time error:

Deftype, Type ID (?%?&!#$) or AS required: LISTVIEW_GETCOLUMNWIDTH

Is this a know issue or am i missing an update?
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

Rolf Brandt

Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

José Roca

The example compiles fine if you have your settings right, but who knows what you're doing? For example, there is not a call to LISTVIEW_GETCOLUMNWIDTH in it, so how can you get that error?

Elias Montoya

 Rolf, i downloaded before paul updated the link, i just downloaded it, installed it, and problem solved. :)

Jose, I did nothing strange, just opened your example, and compiled it without editing it whatsoever, in fact i have been using firefly for the past 3 or 4 days and compiled many things without problems. Last night i worked around it by adding a 'pontless' listview to the form. I figured if i did that, firefly would include the required libraries, and it did. I dont know what the problem was either but it's gone with the update that paul posted. :)

Thanks!
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

Elias Montoya


By the way, i was clicking the elements of the carousel and nothing was happening until i made this modification in your example:

      ' // Get the identifier of the element that has fired the event
      'strId = ACode$(pElement.Id)
      strId = pElement.Id


Now i get a message box displaying what icon i clicked.
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

José Roca

That was an old example for PB9.