Print Page | Close Window

CXTPControlEdit Problem with Spin Control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9441
Printed Date: 01 March 2025 at 12:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlEdit Problem with Spin Control
Posted By: devil20
Subject: CXTPControlEdit Problem with Spin Control
Date Posted: 30 January 2008 at 1:20am
Hi
 
I am using Ribbon and CXTPControlEdit to display some value. I have also attached spin control with CXTPControlEdit But problem is spin control only support integer value ? I want to show value in float and increment with spin but it consider value as integer  ..
 
Any one have idea how to show value in floating point ?
 
Here is my code
 

m_btnFeedLevel = (CXTPControlEdit*)pGroup->Add(xtpControlEdit,ID_AUTOFEED_LEVEL);

m_btnFeedLevel->SetWidth(180);

m_btnFeedLevel->ShowSpinButtons();

m_btnFeedLevel->SetEditText("2.25");




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net