8 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Clanstrom

I would like to know, why extending a built-in class in php is important. I mean let's take the PDO class for example. One can either work with using new PDO(); or class Foo extends PDO. to do the same task. I guess, maybe the only thing that makes sense …

Member Avatar for diafol
0
439
Member Avatar for NidhiSree

Hi, I am trying to customize default windows scrollbar in combobox like below. public partial class ComboEx : ComboBox { internal ScrollbarEx vScrollBar; NativeListWindow listControl; public ComboEx() { InitializeComponent(); DropDownHeight = 100; vScrollBar = new ScrollbarEx(); } protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); } protected override void OnHandleCreated(EventArgs e) …

Member Avatar for NidhiSree
0
1K
Member Avatar for kaizen202

I have skinned most controls in my winform application, except scrollbar in combobox. Any ideas?

Member Avatar for kaizen202
0
201
Member Avatar for minitauros

I just started wondering.. I have a bass class, let's say a class called Framework. This class contains a lot of functions and sets a couple of variables that are used inside other classes. What would be the most efficient way to access these variables from inside other classes? Should …

Member Avatar for jkon
0
368
Member Avatar for TrustyTony

Do you get content of oper right before trying it out? oper = ['plus', 'minus', 'times'] oper.extend('divide') How about do you know what happens when you run this? Big bang? ;) print('a' 'b' 'c') And this is same, isn't it`? c = 'c' print('a' 'b' c)

Member Avatar for snippsat
1
181
Member Avatar for JamesCherrill

The sort methods for collections specifies that the parameter must be a collection of objects that implement Comparable for their own class or superclass, eg [CODE]public static <T extends Comparable<? super T>> void sort(List<T> list)[/CODE] Can anyone tell me how to define an ArrayList that will only accept such objects? …

Member Avatar for ~s.o.s~
0
183
Member Avatar for jesskuzlo

Im using eneity framework and I would like to create a partail class which i have done. Namespace CulminITIMSModel Partial Public Class Role Private _roleID As Integer = 0 Private _role As String = "" <StringLengthValidator(1, 50, Ruleset:="RuleSetA", _ MessageTemplate:="First Name must be between 1 and 50 characters")> _ Public …

0
82
Member Avatar for Spycat

Hello, I have a page that I want to have borders on all 4 sides. The problem is, the bottom border does not extend to the bottom of the page. It stops mid-way, with content extending below it. Here is my code: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for Spycat
0
903

The End.