Print Page | Close Window

XTPControlType

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10965
Printed Date: 27 September 2024 at 8:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPControlType
Posted By: ABuenger
Subject: XTPControlType
Date Posted: 09 June 2008 at 11:56am
CXTPControls::FindControl() expects a XTPControlType as the first parameter, where xtpControlError means any control.

It would be much better if the literals would be named xtpControlUndefined and xtpControlAny, where xtpControlAny = xtpControlUndefined.

FindControl(xtpControlAny) is much better than FindControl(xtpControlError)




-------------
Codejock support



Replies:
Posted By: Oleg
Date Posted: 09 June 2008 at 3:50pm
Hi,
You always can add
#define xtpControlAny xtpControlError
in stdafx.h
 
;-)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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