Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
property
- Page 1
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
3 Hours Ago
by Inamullah_1
Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the …
Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
… means is, you can no longer just assign a new
property
to an object without explicitly declaring it first in the… you do, PHP throws a warning like: Creation of dynamic
property
SomeClass::$foo is deprecated This happens when you do things…
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
2 Weeks Ago
by jkon
I can't get it , why anyone would want to `$user = new User(); $user->nickname = 'Dani';` if nickname is not a public
property
of User , or even worse `$user = new stdClass(); $user->nickname = 'Dani';` ? Why ?
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
3 Weeks Ago
by Dani
Oh, and an important bit I forgot to mention: PHP's built-in stdClass has the `#[AllowDynamicProperties]` attribute already added. In fact, you can see in the [PHP docs](https://www.php.net/manual/en/class.stdclass.php) that the definition of the stdClass is "a generic empty class with dynamic properties." That means that you can always …
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
2 Weeks Ago
by Dani
The first I agree would not make much sense to do because one would presume that the User class has its own set of getters and setters for a reason, and just creating random properties on a whim defeats the purpose of organizing and structuring your code by having the class in the first place. Nevertheless, I ran into this exact issue while trying …
Re: Dynamic Properties in PHP 8.2
Programming
Web Development
2 Weeks Ago
by Dani
> This obviously does not make sense to do if you want to create or work with a User object or something of that sort. I realize that in my previous post I incorrectly gave the example of `$user = new stdClass(); $user->nickname = 'Dani';`. My intention was not to say that it was good coding practice to represent a user of the app with an …
Can I Use AI to Build a Block Management Website for Ilford Clients?
Programming
Web Development
1 Month Ago
by kearawill
… built with AI tools? The site needs standard features like:
Property
listings Service request forms (for tenants) Payment gateway Backend for…
property
managers to update info Possibly a tenant login area I’…
Re: Can I Use AI to Build a Block Management Website for Ilford Clients?
Programming
Web Development
1 Month Ago
by trcooke
This feels like a solved problem. Have you done any research for existing "off the shelf"
property
sales / real estate website solutions? I would start there as it could save you and your client a whole bunch of time and money compared to building one yourself from scratch.
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
1 Month Ago
by Erussuhsh
Hi I'm new android app development can you teach me
Property java HELP
Programming
Software Development
15 Years Ago
by ihong154
…public static void main(String[] args) {
Property
[] Properties ; Properties = new
Property
[5] ; Properties[1]= new
Property
(
Property
.SFD, 999000, 2, 10, "Sheridan…, 14, "100 El Camino"); Properties[3]=new
Property
(
Property
.SFD, 999000, 2, 10, "Sheridan"); Properties[4…
Re: Property java HELP
Programming
Software Development
15 Years Ago
by ihong154
…new
Property
(5555,"Foothill"), };
Property
.PrintArrayConsole("before:", Properties);
Property
.ArraySort(Properties);
Property
.PrintArrayConsole…changed = true; } return changed; } public static void ArraySort(
Property
[] array) { for (int k = 0; k <…
Re: Property java HELP
Programming
Software Development
15 Years Ago
by javaAddict
… use this: [CODE] private static boolean FloatLargestPriceToTop(
Property
[] data, int top) { boolean changed = false;
Property
temp; // notice we stop at length -2…
Property as Dictionary key?
Programming
Software Development
12 Years Ago
by MonsieurPointer
…, 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").… following: * Private myDict As Dictionary(Of
Property
, String) * Private myDict As Dictionary(Of [
Property
], String) but these do not work, …
Property not working
Programming
Software Development
14 Years Ago
by MrCapuchino
Hi, I have a form which has the
property
StartPosition set to Center Screen It works, but if I change the
property
FormBorderStyle to something, the Center Screen
property
stops working? Why is this happening? Thanks in advance
Re: Property not working
Programming
Software Development
14 Years Ago
by darkagn
… minimized, maximized, or resized at run time. [/QUOTE] The FormBorderStyle
property
has an affect on size and location of your form…;]Here[/URL] is a link to the documentation for the
property
, it may give some clues as to why the form…
Re: Property as Dictionary key?
Programming
Software Development
12 Years Ago
by Reverend Jim
You'd have to create the dictionary as Private myDict As New Dictionary(Of String, Textbox) myDict.Add("port",TextBox1) and you could do myDict("port").Text = "some text" You can't create a pointer (reference) to a
property
within an object (or control).
Property Search Engine
Programming
Web Development
18 Years Ago
by JSR
… title says, i've made a search engine for a
property
site that uses a form to specify what to search… (ie.
property
status, type, location, bedrooms, price). And outputs as a table…
Re: Property not working
Programming
Software Development
14 Years Ago
by kvprajapati
>FormBorderStyle to something, the Center Screen
property
stops working? Please post that code here.
Re: Property not working
Programming
Software Development
14 Years Ago
by MrCapuchino
I change these properties in the properties windows of visual studio. The funny thing is that it will work if I put Sizeable in the FormBorderStyle. Any other
property
will not make the form appear in the center of the screen. Any ideas?
Re: Property not working
Programming
Software Development
14 Years Ago
by MrCapuchino
Hi, I fixed it puting before InitializeComponente() the code you told me like this: this.StartPosition = FormStartPosition.CenterScreen; It is odd that changing the
property
from the Visual Studio graphical interface did not work. Thanks
Property of a class rises wildly
Programming
Software Development
13 Years Ago
by niggz
Hello again. I have a
property
'F' in class 'Club'. I realized that it doesn't … values. BUT than every time I hovered over class->
property
F it increased by *2 or seomthing like that. Here…
Property IDs for the SummaryInformation Property Set
Programming
Software Development
15 Years Ago
by sodak
… Category field. Anybody know why? It seems like there are
property
IDs for every field except the Category field. I'm…
Re: Property IDs for the SummaryInformation Property Set
Programming
Software Development
15 Years Ago
by Ancient Dragon
Are you talking about the properties menu shown when you right-click a file in Windows Explorer? It will probably depend on the version of MS-Windows you are running. I am running Windows 7 and do not see a Category
property
. Attached is a picture of what I see. (As you can see there is no Summary tab).
Property 'Size' is 'ReadOnly'
Programming
Software Development
18 Years Ago
by ilgar
Hi I am new in VB. I have writen simple code Private sub cmdBotton_Click() txtbox.font.size = 12 End Sub then i got error message that "
property
'Size' is 'ReadOnly'" I would appreciate if you could help me with this ilgar
Re: Property 'Size' is 'ReadOnly'
Programming
Software Development
18 Years Ago
by Dukane
That's because that method only returns the size of the font for the textbox, you cannot set it that way. To change the font size, you need to create a new font object and then assign it to the Font
property
. For example: [code=vb] Dim newFont as New Font("Tahoma", 18, FontStyle.Bold) TextBox1.Font = newFont [/code]
property and array
Programming
Software Development
16 Years Ago
by cljlxwater
if i define a array, for example private int[] lendMoney = new int[10]; do i can use a use
property
to match this private array? thank you
Re: property and array
Programming
Software Development
16 Years Ago
by dickersonka
of course, the same as you would any other
property
[code] public int[] LendMoney { get{return lendMoney;} set{lendMoney = value;} } [/code] Might want to use an arraylist instead, if its not a fixed length
Property or method?
Programming
Software Development
15 Years Ago
by ddanbe
…(int side) //constructor { this.side = side; } public int Area //public
property
{ get { return side * side; } } }[/CODE] I had other methods or…
Re: Property or method?
Programming
Software Development
15 Years Ago
by Tom Gunn
I think a
property
is better because the method has extra syntax that is …
Re: Property or method?
Programming
Software Development
15 Years Ago
by sknake
Another 'rule of thumb' about properties versus methods is that Properties should not throw exceptions for the most part. A calculated value for a
property
is common (see Control.Right) but if you have to do something that may be unsafe and raise an error then a method may be better
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC