# Set Dialog Item Color Value

Grammar — Set dialogItem property to value for players
FlagsNative | Action | Internal

# Arguments

  • int<control> — Dialog Item
  • int<preset::ControlProperty> — Property
  • playergroup — Players
  • color — Value

Returns — void

native void DialogControlSetPropertyAsColor(
	int control,
	int property,
	playergroup players,
	color value,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2763

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_players, lp_color);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2901

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyDesaturationColor, lp_players, lp_color);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2979

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTintColor, lp_players, lp_color);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2985

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTeamColor, lp_players, lp_color);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3081

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyBorderColor, lp_players, lp_color);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3087

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyFillColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2216

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2355

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyDesaturationColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2433

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTintColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2439

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyTeamColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2535

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyBorderColor, lp_players, lp_color);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2541

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsColor(lp_dialogItem, c_triggerControlPropertyFillColor, lp_players, lp_color);
}