Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What language are creating this in? (Looks abit like XAML/WPF to me...or FLEX?)</p> <p>Generally speaking the syntax would be as follows:</p> <pre><code>Class NavBar() { function navBar() { //new navbar object UINavigationBar *navBar = [[UINavigationBar alloc] initWithFrame:CGRectMake(0, 0, 320, 44)]; navBar.barStyle = UIBarStyleBlack; navBar.translucent = YES; [self.view addSubview:navBar]; [navBar release]; //call the navbar function and create the label for the new navbar navBarLabel() } function navBarLabel() { UILabel *navLabel = [[UILabel alloc] initWithFrame:CGRectMake(20,8,280,30)]; navLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth; navLabel.text = @"Some Label"; navLabel.backgroundColor = [UIColor clearColor]; navLabel.textColor = [UIColor whiteColor]; navLabel.font = [UIFont boldSystemFontOfSize:20]; navLabel.shadowColor = [UIColor colorWithWhite:0.0 alpha:0.5]; navLabel.textAlignment = UITextAlignmentCenter; [navBar addSubview:navLabel]; [navLabel release]; } } </code></pre> <p>But depends on the programming language and possibly platform too. :) Also if you create it as an external class and make it public, you should be able to call these functions whenever you need them.</p> <p>So for example the navBar could be created without calling the navBar label...then the user can decide to input something for this new label or not. If they do not input anything the program goes on to the next method, or the user creates a new label.</p> <p>It will be a dynamic and more interactive system. :)</p> <p>Hope that helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload