Wednesday, February 08, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: hiCreateTabField
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
rimser9
Posts: 0
Online: User is Offline
8/14/2007 1:51 AM  
Hello , Can anyone provide one small example for hiCreateTabField. Just how the o/p will be. Im getting lot of errors that, I have provided illegal attributes. Thanks,
adbeckett
Posts: 248
Online: User is Offline
8/14/2007 3:59 AM  
Here's a very simple example:
procedure( CCStabFormCreate()
let((
( xWidth 330 )
( yDelta 30 )
( prompt 126 )
LayoutLib LayoutCell LayoutView Reason LayoutBrowse
tabfield1 tabfield2 tabField
)

LayoutLib=
hiCreateStringField(
?name 'LayoutLib
?prompt "Library"
?value ""
) ; hiCreateStringField

LayoutCell=
hiCreateStringField(
?name 'LayoutCell
?prompt "Cell"
?value ""
) ; hiCreateStringField

LayoutView=
hiCreateStringField(
?name 'LayoutView
?prompt "View"
?value ""
) ; hiCreateStringField

Reason=
hiCreateStringField(
?name 'Reason
?prompt "Reason"
?value ""
) ; hiCreateStringField

LayoutBrowse=
hiCreateButtonBoxField(
?name 'LayoutBrowse
?choices list( "Browse" )
?callback
;list( "ddsSyncWithForm( CCStabForm 'browse 'LayoutLib 'LayoutCell 'LayoutView )" )
list( "ddsSyncWithForm( eval(CCStabForm->tabField->page1) 'browse 'LayoutLib 'LayoutCell 'LayoutView )" )
?prompt " "
) ; hiCreateButtonBoxField

tabfield1 = list(
list(LayoutBrowse xWidth/2:1*yDelta xWidth/2 :yDelta-10 prompt/2 )
list(LayoutLib 10:2*yDelta xWidth-20:yDelta prompt/2 )
list(LayoutCell 10:3*yDelta xWidth-20:yDelta prompt/2 )
list(LayoutView 10:4*yDelta xWidth-20:yDelta prompt/2 )
)

tabfield2 = list(
list(LayoutLib 10:2*yDelta xWidth-20:yDelta prompt/2 )
list(LayoutCell 10:3*yDelta xWidth-20:yDelta prompt/2 )
list(LayoutView 10:4*yDelta xWidth-20:yDelta prompt/2 )
list(Reason 10:5*yDelta xWidth-20:yDelta prompt/2 )
)

tabField = hiCreateTabField(
?name 'tabField
?notebookStyle nil
?pageScroller nil
?tabPlacement 'top
?tabs list("first" "second")
?fields list(tabfield1 tabfield2)
?value 1
)

hiCreateAppForm(
?name 'CCStabForm
?fields list(list(tabField 0:0 xWidth+5:13*yDelta+15 0))
?initialSize list( xWidth+5 13*yDelta+15)
)

hiDisplayForm(CCStabForm)
))

rimser9
Posts: 0
Online: User is Offline
8/15/2007 11:43 PM  
Thanks Andrew that helped.
Posting to forums is available to community members only.
Login or Register

Forums > Custom IC > Shared code - SKILL > hiCreateTabField


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.