33 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for ZER09

class Base { [Display(Order = 0)] public int FirstProp {get;set;} [Display(Order = 1)] publuc string SecondProp {get; set;} } class Derived : Base { [Display(Order = 2)] public string ThridProp {get;set;} } I was expecting that the properties will have an order like this | FirstProp | SecondProp | ThirdProp …

Member Avatar for Ketsuekiame
0
228
Member Avatar for sing1006

im new in objective c.i have come out with the getter and setter but not sure is correct or not. .h #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(nonatomic, retain) NSString *myText; @property(nonatomic, copy) NSNumber *opacity; @property(nonatomic, assign) id delegate; @end .m #import "ViewController.h" @interface ViewController () @end @implementation ViewController @synthesize …

0
166
Member Avatar for Doogledude123

The "Invalid Property" Error is thrown at Line 20, which is for the TextField. No idea as to why it is being thrown. <?xml version="1.0" encoding="UTF-8"?> <?import java.lang.*?> <?import javafx.scene.control.*?> <?import javafx.scene.layout.*?> <?import javafx.scene.text.*?> <VBox prefHeight="400.0" prefWidth="284.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> <children> <AnchorPane maxHeight="-1.0" maxWidth="-1.0" prefHeight="375.0" prefWidth="285.0" VBox.vgrow="ALWAYS"> <children><Button fx:id="zero" layoutX="14.0" layoutY="321.0" …

Member Avatar for Doogledude123
0
991
Member Avatar for borgasia

Can't get this work properly: FormatRange(ref ws.Range[curRange.Offset[1, 0] , gives A property or indexer may not be passed as an out or ref parameter Any help would be thankfull public static void WriteDetailData(ref Worksheet ws, string type, ref int row, int col, Hashtable parts, Hashtable refList) { Range curRange = …

Member Avatar for borgasia
0
4K
Member Avatar for arishy

First let me define what I mean by action box. Input box waiting for data, link waiting for click etc. Also I am assuming that the page is NOT using mouse over ( BAD assumption, so feel free to suggest something else) Why I need this ? you might ask …

0
124
Member Avatar for Patrickfrog1

Hi everyone! I have been in the process of coding a replacement track bar which fits the color scheme and design of a program I am making. I would like some of the options to be controlled by properties which I can change in the designer. These include: whetether to …

Member Avatar for Patrickfrog1
0
203
Member Avatar for ricardo.scheufele

Hi, I have a class called "car" with - I have no ideia how to say this in english - "data members" as the following: Public pneu As classDoor Public mat As classTire Public length As Double And so on. All the related classes have null constructors. I have a …

Member Avatar for PerplexedB
0
341
Member Avatar for pardeepkhatri
Member Avatar for Chan2013

Hello, How do I return the value of a custom property in Word 2007 using VBA? Depending on the custom property, I also need to automatically check a checkbox using VBA. Thanks!

Member Avatar for Chan2013
0
304
Member Avatar for naphets

I am trying to make this table behave. I want it to stay within 80% of the page. I want each column to be a fixed width. I want it to show all without scrolling right. Its fine if it gets super long. I also want the title bar, with …

Member Avatar for naphets
0
359
Member Avatar for xHellghostx

For example let's say we have the property called Customer that returns a value of name String name; <== Global Variable public String getName() { return name; } public String setName(holdingName) { name=holdingName; } and a constructor called Match public FullName(String realName) { holdingName = realName; } Can I do …

Member Avatar for stultuske
0
313
Member Avatar for xHellghostx

Okay I am wondering what is a syntax to create a new property with read-write proprties, I read the book but it is not clear. Your help is appreciated

Member Avatar for Ancient Dragon
0
208
Member Avatar for shermags

Hi, I'm new here!!! I just want to ask if is it possible to add a property within a property at VB.Net. Sample Public Class Form1 Private xproperties As PreferenceProperties Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load xproperties = New PreferenceProperties PropertyGrid1.SelectedObject = xproperties End …

Member Avatar for shermags
1
269
Member Avatar for AndrewEPage

Just a thought that woke me up this morning. A means of providing 'property' type constructs in C++ classes similar to python properties. # Header # #ifndef _HXX_CPROP #define _HXX_CPROP /** * Helper class to connect a 'property' in a * c++ class to getter/setter methods * */ template<class T, …

Member Avatar for mrnutty
0
3K
Member Avatar for ptproptiger
Member Avatar for MonsieurPointer

Hi DaniWebbers, I would like to map a string to a Property using the Dictionary class. For example, I want to map "port" to a textbox's Text property, e.g. myDict.Add(tbPort.Text, "port"). How would I go about defining the dictionary? I've tried the following: * Private myDict As Dictionary(Of Property, String) …

Member Avatar for Reverend Jim
0
255
Member Avatar for ZNERB

Hello, I am getting these constant annoying errors in Visual Basic .NET 2010 Express. I'm pretty sure I'm not the only one, but these errors are always relating to images and resources! [QUOTE][B]The Type 'Global.ExampleProject.My.Resources.Resources' has no property named 'example.png'[/B][/QUOTE] I am pretty sure these are bug, due to the …

Member Avatar for jsurefo
0
478
Member Avatar for bhanu1607

Hi, I have a requriement to convert all my properties files from English to Hindi to make my project internationalization. Can any one please tell me, is there any tool to convert my property files from one language to another language. I have found some language transulator sites, but it …

0
116
Member Avatar for codechrysalis

Alright so Im making this sports application where whenever the user clicks on a radio button with a designated sport a message apporiate to that sport will come up . I also want to have a 'different' picture show up for each different click of a corresponding sport . Would …

Member Avatar for codechrysalis
0
867
Member Avatar for niggz

Hello again. I have a property 'F' in class 'Club'. I realized that it doesn't function properly while going through debugging and locals. At first look it had normal, wanted values. BUT than every time I hovered over class->property F it increased by *2 or seomthing like that. Here's the …

Member Avatar for skatamatic
0
133
Member Avatar for twistercool

I am a CMS Developer but am not well in PHP. So I might need your help here.. error: Notice: Undefined variable: handler in C:\wamp\www\TESTING\components\com_rsappt_pro14\rsappt_pro14_front_desk.php on line 34 source of error: [CODE]defined( '_JEXEC' ) or die( 'Restricted access' ); // Load configuration data //include( JPATH_SITE . "/administrator/components/com_rsappt_pro14/config.rsappt_pro.php" ); include( JPATH_SITE."/administrator/components/com_rsappt_pro14/config.rsappt_pro14.php" …

Member Avatar for cwarn23
0
239
Member Avatar for iThaos

Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= …

Member Avatar for iThaos
0
211
Member Avatar for ChrisHunter

Hi, Could anyone tell me the best way to implement a propertygrid? currently I'm doing it like this but I'm having truble setting the value of the private variable with the values returned but a single SqlDataReader: [CODE] [DefaultPropertyAttribute("ObjectTypeID")] public class ObjectType { private int _objTypeID; private int _stateType; private …

Member Avatar for lolafuertes
0
521
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
166
Member Avatar for WibuSystems

If there are any questions on software copy protection and license management I will be very happy to answer.

0
169
Member Avatar for arvin.gh

I have looked this up on internet and no answer yet!!! I have a paged with a loginView which has a button and a fileupload control in it. When I double click on the button to add some commands I can see that the program can see the button and …

Member Avatar for Mitja Bonca
0
166
Member Avatar for ehsantl

Hi guys I'm struggling to write a code for traversing a directed graph. It contains City as nodes. I'm trying to put City(s) to a LinkedList and then work with them to find the path. However, as you will notice I'm still newbie in C++. I have a *nextcities as …

Member Avatar for alwaysLearning0
0
134
Member Avatar for jackparsana

hi, I m working on vs 2010. asp.net. i have problem with apply class using jquery. there is one textbox. i use class by this way its perfectly work. but when textbox multilink property is true. then problem is raise. pls help me to use this... thanks in advance. jack

0
116
Member Avatar for bflack

Cn anybody help me here? When i tried opening an application i've just installed in my laptop computer, it displays an error message and it says: // Your computer's effect property "SHOW WINDOW CONTENTS WHILE DRAGGING" is unchecked. This property should be checked to use eyepilot(the exe file). On windows …

Member Avatar for caperjack
0
102
Member Avatar for muriloazevedo

Hello, I'm bound the property visible in the controls of my form, by default they should to appear true, but is coming false. Someone knows what's happening? Thank You. :)

Member Avatar for nick.crane
0
145

The End.