Questions tagged [dynamic]

Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.

Programs that perform some common tasks based on program inputs in contrast with programs that predetermine the task beforehand. Dynamic is often used to mean:

  • The dynamic keyword
  • using JavaScript to manipulate web pages in the browser.
  • have features that allow the of a variable to be bound at run-time.
  • Program generated content, especially content in contrast with web pages created by a person and stored on disk, ready to serve.
27209 questions
6
votes
4 answers

Dynamically resizing a kivy label (and button) on the python side

How do I dynamically resize the a label or button, in particular, the text_size and height, depending on the amount of text, at run-time? I am aware that this question has already been answered in one way with this question: Dynamically resizing a…
bosky
  • 157
  • 3
  • 3
  • 7
6
votes
2 answers

Dynamic Connection String for a Strongly Typed Dataset

I have an asp.net nTier application. The data access layer is a strongly typed DataSet consisting of multiple DataTables with DataAdapters. When the user logs in, they choose which database to connect to (from a table in the membership database). I…
SausageFingers
  • 1,796
  • 5
  • 31
  • 52
6
votes
5 answers

Generate a filtered, dynamic drop down list

I need two dynamic drop down lists for data validation. One containing a unique list of continents to choose from, and then the second list which is a dynamically generated subset of countries based on the continent selected. The data is not in any…
user3147973
  • 426
  • 2
  • 4
  • 18
6
votes
2 answers

DynamicObject implicit casting

I have a subclass of DynamicObject and I would like to implement implicit casting for primitive types similarly as DO's explicit casting method TryConvert; that is, without writing multiple implicit operator [type] functions. Usage: dynamic…
Toni Kielo
  • 93
  • 7
6
votes
2 answers

IDynamicMetaObjectProvider.GetMetaObject is not always called

I am struggling with a very strange problem around a class that implements IDynamicMetaObjectProvider interface. According to the documentation, each time there is an attempt to do a dynamic binding on an instance of such class, GetMetaObject is…
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
6
votes
2 answers

Making C dynamic array generic

I just wrote a nice library that handles nicely a dynamic array allocated on heap in C. It supports many operations, is relatively simple to use "feeling" almost like a regular good old array. It is also easy to simulate many data structures based…
Bregalad
  • 634
  • 7
  • 15
6
votes
4 answers

Eclipse: Have multiple Dynamic web projects contribute to a single war file?

I am in a situation where I basically want to be able to have a web project in Eclipse where the WebContents folder is merged from multiple projects instead of only a single dynamic web project. If I have "a.jsp" in project A, and "b.jsp" in project…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
6
votes
2 answers

Java initialize 2d arraylist

I want to do 2D dynamic ArrayList example: [1][2][3] [4][5][6] [7][8][9] and i used this code: ArrayList> group = new ArrayList>(); group.add(new ArrayList(1, 2, 3)); how should i initialize…
user2458768
  • 115
  • 4
  • 4
  • 12
6
votes
2 answers

How to add (clone) form fields using jQuery and increment ids and names

Since it took me a couple of days in order to find a good way to achieve what I wanted, I thought I'd post this Q&A to save others some precious time and unhealthy frustration :3. I simplified the code as much as I could (like removing form action,…
Fierceblood
  • 360
  • 1
  • 2
  • 10
6
votes
1 answer

Add a tinymce editor dynamically when you already have tinymce instances on your page

This is a followup to this question i already asked : Add a tinymce editor dynamically I have a page with editors in it (tinyMCE). I add textarea dynamically (an add entry button). It works fine expect that it undo all change i have done to other…
Syl
  • 3,719
  • 6
  • 35
  • 59
6
votes
1 answer

Zurb Foundation: How do you make buttons smaller on resize to a smaller screen?

In Zurb Foundation 4, is there a way to automatically switch to the smaller button style when the browser is resized smaller or on a smaller screen? For example when the screen is a standard desktop screen do this:
Trinity
  • 87
  • 3
  • 7
6
votes
1 answer

C# 4.0 dynamic Office interop performance

I've taken an application that was developed in Visual Studio 2008 and used various Office libraries through COM Interop. I began some proof of concept development using the dynamic keyword and Visual Studio 2010. I found that performing the same…
billb
  • 3,608
  • 1
  • 32
  • 36
6
votes
4 answers

create js array dynamically?

how could I declare several js array dynamically? For example, here is what tried but failed: