Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Problem in example code (Tried SplitterFrame yet minor problem.)
Re: Problem in example code [message #45973 is a reply to message #45964] Tue, 02 February 2016 21:16 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

vegaonline wrote on Mon, 01 February 2016 05:40
(i) I have a 4 column data file for ArrayCtrl. I want to click say col_1 and click option X. Then I want click say col_3 and click option y. Then I may plot 2D graph. However, my issue is that I am unable to choose particlular column of ArrayCtrl. I tried to use "doPlot.aArray.GetClickColumn();" which did not work. I tried to click header of ArrayCtrl.
Sorry, I don't know ArrayCtrl well enough to advise you on this. Maybe someone else will know the answer. My best hint is to use a different way to do this, e.g. context menu with "set as X" and "set as Y" options, or simply create droplist for each axis listing the possible columns.

vegaonline wrote on Mon, 01 February 2016 05:40
(ii) I want to write a small code for generating geometrical primitives like sphere, cylinder, plate etc. Is there any example? In the bazar I saw one example related to OCE which reqd. oce.h etc. and I did not have OCE installed.
Depends what you actually want... Simple drawings should be quite easy using Draw or Painter. For some better quality pictures there is the OCE based package you mentioned or GLCtrl which lets you draw anything using OpenGL primitives. Either way, don't expect a DrawCylinder function, there is AFAIK no package that would let you do this on such a high level.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issues using 2015.2 version
Next Topic: How to build FREBSD *.so in Windows?
Goto Forum:
  


Current Time: Fri Nov 01 02:06:58 CET 2024

Total time taken to generate the page: 0.00781 seconds